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

34 questions
Show all answers
1.
FLASHCARD QUESTION
Front
To create a newline at the end of prompt, you can use which of the following expressions? Options: \new, \n, \break, \return
Back
\n
2.
FLASHCARD QUESTION
Front
What is a variable?
Back
A box(memory location) where you store values.
3.
FLASHCARD QUESTION
Front
What will the output be from the following code?
print("Hello" + str(2) + "world!")?
Back
Hello2world!
4.
FLASHCARD QUESTION
Front
Code repeated / looped until a condition has been met or a set number of times. Options: Sequence, Selection, Iteration, Variable
Back
Iteration
5.
FLASHCARD QUESTION
Front
Decides if a string only contains numbers: isalpha(), int(), string()
Back
isnumeric()
6.
FLASHCARD QUESTION
Front
Tells the interpreter that the code which follows is a function
Back
def
7.
FLASHCARD QUESTION
Front
Python identifies blocks of code by
Back
aligning up the starts of lines (indentation)
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?