
Python Flashcard
Flashcard
•
Professional Development
•
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the correct way to declare a variable in Python? Options: var x = 5, x := 5, x = 5, int x = 5
Back
x = 5
2.
FLASHCARD QUESTION
Front
Which of the following is used for single-line comments in Python: //, #, /* */, None of the above?
Back
#
3.
FLASHCARD QUESTION
Front
What is the correct way to call a function in Python?
Back
function name()
4.
FLASHCARD QUESTION
Front
What is the output of print(2 ** 3)?
Back
8
5.
FLASHCARD QUESTION
Front
Which of these is NOT a valid Python data type? int, float, complex, char
Back
char
6.
FLASHCARD QUESTION
Front
What is the correct way to create an empty list in Python? Options: list = []; list = list(); list = {};
Back
Both A and B
7.
FLASHCARD QUESTION
Front
What is the correct syntax to import a module in Python?
Back
import module
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
21 questions
Java Flashcard-1
Flashcard
•
KG - University
20 questions
1st Quarter Religion
Flashcard
•
3rd Grade - University
20 questions
COMPARATIVE ADJECTIVES
Flashcard
•
University
20 questions
Synonyms
Flashcard
•
4th Grade
20 questions
Michaela DePrince Test
Flashcard
•
6th Grade
20 questions
Heat
Flashcard
•
6th - 8th Grade
20 questions
Understanding Law and Order Services
Flashcard
•
6th Grade
20 questions
Overcoming Limiting Beliefs
Flashcard
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade