Python: Print Function, Data Types, and Variables

Flashcard
•
Engineering
•
6th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the correct way to declare a string variable in Python? Options: string name = "Hello", str name = "Hello", name = "Hello", name = Hello
Back
name = "Hello"
2.
FLASHCARD QUESTION
Front
Which of the following is an integer in Python? 3.14, "42", 42, True
Back
42
3.
FLASHCARD QUESTION
Front
How do you correctly print the text "Hello, World!" in Python?
Back
print=("Hello, World!")
4.
FLASHCARD QUESTION
Front
Which of the following is a floating point number? 7, 7.0, "7.0", True
Back
7.0
5.
FLASHCARD QUESTION
Front
Which of the following is a correctly named variable in Python? 1st_variable, firstVariable, first-variable, first variable
Back
firstVariable
6.
FLASHCARD QUESTION
Front
What will be the output of the following code: print(3 + 4.5)?
Back
7.5
7.
FLASHCARD QUESTION
Front
What is the result of the expression 10 // 3 in Python?
Back
3
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
python

Flashcard
•
KG
9 questions
Python Basic Functions

Flashcard
•
6th - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Chủ đề 4 - Tin 8

Flashcard
•
KG
10 questions
HTML 1

Flashcard
•
6th Grade
10 questions
Python Inputs

Flashcard
•
7th - 8th Grade
11 questions
hello kitty

Flashcard
•
KG
9 questions
Back to School

Flashcard
•
6th - 7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Fast Food Slogans

Quiz
•
6th - 8th Grade
4 questions
End-of-month reflection

Quiz
•
6th - 8th Grade
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade