What is the correct file extension for Python files?
Python

Quiz
•
Engineering
•
University
•
Medium

py thon
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.pp
.pt
.py
.pn
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct way to declare a Python variable?
var x = 5
#x = 5
$x = 5
x = 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = "John"
# is the same as
x = 'John'
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 5
# is the same as
A = 5
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insert the missing part of the code below to output “SSIT".
__________ (“SSIT")
Type
Write
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character is used to define a Python comment:
'
//
#
/*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is NOT a legal variable name?
my-var = 20
my_var = 20
Myvar = 20
_myvar = 20
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
CRYPTIC HEIST ROUND-1 FOR TEAM MEMBER-1

Quiz
•
University
15 questions
ETS Pemrograman Berorientasi Obyek

Quiz
•
University
10 questions
Circuitos Trifásicos: Fundamentos y Orígenes

Quiz
•
University
8 questions
POE - LLJII

Quiz
•
University
10 questions
p2rt

Quiz
•
7th Grade - University
10 questions
Internal Lab Quiz-1 CSECS

Quiz
•
University
15 questions
Kuis Pelatihan Pertemuan 5 (3D Printing)

Quiz
•
University
10 questions
C Programming Day-10

Quiz
•
University
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