Which one of the following is the correct extension of the Python file?

PYTHON

Quiz
•
Computers
•
Professional Development
•
Hard
Ninu Sahil
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.python
.py
.p
.nb
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character is used in Python to make a single line comment?
/
//
#
!
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
>>>str1 = "javat"
>>> str1[-1:]
What will be the output of this statement?
t
j
java
point
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is shown below?
L = [2, 54, 'javatpoint', 5]
What will be the output of this statement?
Dictionary
tuple
list
stack
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print('It\'s ok, don\'t worry')
What will be the output of this program?
It's ok don't worry
It\'s ok, don\'t worry
SyntaxError: EOL while scanning string literal
SyntaxError: invalid syntax
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following keywords is used for function declaration in Python language?
def
function_name
define
none of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is correct?
List is immutable && Tuple is mutable
List is mutable && Tuple is immutable
Both are Mutable.
Both are Immutable
Create a free account and access millions of resources
Similar Resources on Quizizz
6 questions
Python Quiz

Quiz
•
Professional Development
12 questions
Week 1

Quiz
•
Professional Development
10 questions
Senz AIoT Savants - ML & C++

Quiz
•
Professional Development
15 questions
Mastering Python Fundamentals

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Programming Languages

Quiz
•
Professional Development
11 questions
Python Quiz

Quiz
•
Professional Development
10 questions
Batch 1

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade