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
12 questions
Sets and dictionaries

Quiz
•
Professional Development
10 questions
Soal Serius Day-5 DS 30

Quiz
•
Professional Development
15 questions
Python Class 1

Quiz
•
Professional Development
11 questions
Python Libraries Series - Pandas

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

Quiz
•
Professional Development
10 questions
Batch 1

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
6 questions
Python Quiz

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade