Log in
Sign up for FREE
arrow_back
Library

Variables in Python

star
star
star
star
star
Last updated over 5 years ago
10 questions
Note from the author:
Variable assignment review for beginners in Python
1
1
1
1
1
1
1
1
1
1
Question 1
1.

A Variable is like a ....

Question 2
2.

Which one of the following would be a suitable variable name

Question 3
3.

Declaring a variable refers to

Question 4
4.

Which variable name is correct

Question 5
5.

What type of data is in the variable: runner = ("4")

Question 6
6.

Which concatenation is suitable to follow: userName = input("Please enter your name")

Question 7
7.

What will the output from the print statement be?

Question 8
8.

What will the output from the print statement be?

Question 9
9.

This code will not work, why?: num1 = int(input(“Please enter a number”)

Question 10
10.

Which contatenation is correct to follow: num1 = int(input("Please enter a number"))