python flashcard

Flashcard
•
Computers
•
12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a correct syntax to output "Hello World" in Python?
Back
print("Hello World")
2.
FLASHCARD QUESTION
Front
How do you create a variable with the numeric value 5?
Back
x=int(5) and x=5
3.
FLASHCARD QUESTION
Front
What is the correct syntax to output the type of a variable or object in Python?
Back
print(type(x))
4.
FLASHCARD QUESTION
Front
What is a correct syntax to return the first character in a string? Options: x=sub."Hello"[0], x="Hello"[0], x=sub("hello",(0,1)
Back
x="Hello"[0]
5.
FLASHCARD QUESTION
Front
What is python named after?
Back
Television show called Monty Python
6.
FLASHCARD QUESTION
Front
What does the print function do in python?
Back
It displays something like a string or integer.
7.
FLASHCARD QUESTION
Front
What symbol do you use to make a comment in Python?
Back
#
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Python [Basic]

Flashcard
•
KG
20 questions
LISTS in Python

Flashcard
•
University
18 questions
Basic Python and Console Interaction Flashcard

Flashcard
•
12th Grade
16 questions
G12- Selection and Decision Making- Flash cards

Flashcard
•
12th Grade - University
20 questions
Unit 3 Python TEST

Flashcard
•
11th - 12th Grade
15 questions
Python if statement

Flashcard
•
University
15 questions
Python if statement

Flashcard
•
University
11 questions
Computer Programming

Flashcard
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade