To display something on the screen, use this command:
Python Basisc

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

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Javascript Basics Flashcard Review

Flashcard
•
12th Grade
16 questions
Python Basics Unit 3.1

Flashcard
•
12th Grade
15 questions
Introduction to Java

Flashcard
•
University
15 questions
Java String and Array

Flashcard
•
Professional Development
20 questions
Python - List and Tuples

Flashcard
•
11th - 12th Grade
16 questions
PYTHON CONDITIONALS Q3

Flashcard
•
University
15 questions
Python Programming Flashcard

Flashcard
•
University
14 questions
AP CS ArrayLists

Flashcard
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade