
Python Basics
Authored by Mehdi SLAOUI
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you insert COMMENTS in Python code?
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct file extension for Python files?
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to create a function in Python?
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which operator can be used to compare two values?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these collections defines a LIST?
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do you start writing a for loop in Python?
for x in [1,2,3]:
for each x in [1,2,3]:
for (x=0, x<10, x++):
for i in range(0, 10):
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Introducción a CNC
Quiz
•
University
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
12 questions
Microsoft Word
Quiz
•
University
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1
Quiz
•
University
10 questions
Dart
Quiz
•
University
10 questions
LEFT_RIGHT_MID Excel Functions Quiz
Quiz
•
9th Grade - University
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Scratch
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade