Python Basics: Variables and Syntax

Flashcard
•
Computers
•
10th Grade
•
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
Similar Resources on Wayground
20 questions
Python

Flashcard
•
11th Grade
30 questions
Introduction to Python

Flashcard
•
10th Grade
20 questions
Python Basics & Syntax

Flashcard
•
10th - 12th Grade
18 questions
Python Basics Review

Flashcard
•
10th Grade
20 questions
P5 WBMS 8th Grade Final

Flashcard
•
9th Grade
22 questions
Final Review Part 3

Flashcard
•
11th Grade
25 questions
Introduction to Python

Flashcard
•
9th - 10th Grade
18 questions
Python Basics Review

Flashcard
•
10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade