python flashcard
Flashcard
•
Computers
•
12th Grade
•
Hard
Wayground 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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Fundamentos de Python
Flashcard
•
University
19 questions
TCW - Global Media Culture
Flashcard
•
University
15 questions
Нысаналы мектеп информатика 3-аралық тест
Flashcard
•
KG - University
15 questions
Greetings English Preschool
Flashcard
•
KG - University
15 questions
VSEPR
Flashcard
•
12th Grade - University
15 questions
The Hindu Skil Test Challenge
Flashcard
•
12th Grade - University
15 questions
SAT Practice Test #9 Module 1
Flashcard
•
11th Grade - University
15 questions
Chapter 5, 6, 7 Phonics Review
Flashcard
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade