Python Basics: Variables and Syntax
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the correct syntax to print "Hello, World!" in Python?
Back
print("Hello, World!")
2.
FLASHCARD QUESTION
Front
Which of these is a valid variable name in Python? 2name, name_2, @name, name@
Back
name_2
3.
FLASHCARD QUESTION
Front
What data type is used to store a sequence of characters in Python?
Back
String
4.
FLASHCARD QUESTION
Front
Which symbol is used for addition in Python?
Back
+.
5.
FLASHCARD QUESTION
Front
How do you start a comment in Python?
Back
#
6.
FLASHCARD QUESTION
Front
What is the result of the following Python expression: 7 + 5 * 2?
Back
17
7.
FLASHCARD QUESTION
Front
What does the print() function do in Python?
Back
Displays output on the screen
Create a free account and access millions of resources
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
18 questions
Conflictos Liberales y Conservadores
Flashcard
•
9th - 12th Grade
26 questions
Functional Properties of Food
Flashcard
•
10th Grade
19 questions
Class X History Ch-1 Nationalism in India
Flashcard
•
10th Grade
20 questions
Era de Napoleón
Flashcard
•
9th - 12th Grade
25 questions
Resumen 2do Registro Ética 1
Flashcard
•
KG
20 questions
H Chem Enthalpy
Flashcard
•
KG
23 questions
Year 9 Science Terms
Flashcard
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade