
Practical Python: Learn Python Basics Step by Step- Python 3 - Write Your First Python Statement
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the minimum version of Python required to follow along with the tutorial?
Python 2.7
Python 3
Python 3.8
Python 3.9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you type a number in the Python shell and press enter?
The number is printed as a string
The number is ignored
The number is evaluated and displayed
The number is stored in a variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to print 'Hello World' in the Python shell?
print(Hello World)
print('Hello World')
display 'Hello World'
echo 'Hello World'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'len' function do in Python?
Calculates the sum of numbers
Converts a string to uppercase
Returns the length of a string or list
Finds the maximum value in a list
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many characters are in the string 'Hello World' including spaces?
11
13
10
12
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?