Python Basisc
Flashcard
•
Computers
•
University
•
Hard
Beena Venkatesh
FREE Resource
Student preview

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
To display something on the screen, use this command:
Back
print()
2.
FLASHCARD QUESTION
Front
To display the following on screen Hello World! the following command should be used:Options: print(Hello World!), print("Hello World!"), print("Hello World" + !), print"(Hello World!)"
Back
print("Hello World!")
3.
FLASHCARD QUESTION
Front
How would you assign an integer to a variable?
Back
new_var = 4
4.
FLASHCARD QUESTION
Front
How would you print a text string?
Back
print ("Hello!")
5.
FLASHCARD QUESTION
Front
Which symbol do we use if we want to add a comment to our code? Options: @, #, *, &
Back
#
6.
FLASHCARD QUESTION
Front
To create a variable named new_var and assign it a value of 81 divided by 9, which statement would you use?
Back
new_var = 81 / 9
7.
FLASHCARD QUESTION
Front
Assign 4 to the power of 3 to the variable new_var.
Back
new_var = 4 ** 3
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
16 questions
Mulohazalar va Qiymatlar
Flashcard
•
KG
15 questions
Ethnic Groups in Visayas
Flashcard
•
University
16 questions
April Fools Trivia
Flashcard
•
KG - University
17 questions
Philippine History
Flashcard
•
University
20 questions
AP CSA unit 1 review
Flashcard
•
11th Grade - University
15 questions
Flashcard 9 - Colons, Semicolons, Apostrophes, & Accents
Flashcard
•
11th Grade - University
22 questions
WEB TECHNOLOGY
Flashcard
•
University
10 questions
Actividad Cierre Q1
Flashcard
•
University - Professi...
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