Log in
Sign up for FREE
arrow_back
Library

Basics Worksheet 1

star
star
star
star
star
Last updated almost 2 years ago
5 questions
1
Question 1
1.

What is the output?

print ("Setting the timer to")
print ("5 min")

1
1
1
1
Question 2
2.

What is the output?

print "Name: \tNathan"

Question 3
3.

What is the output?

print 4*5+10/3

Question 4
4.

What is the output?

num1 = 3
num2 = 2
num1 = num1 + num2
print num1

Question 5
5.

What is the output?

def numbers():
print random.randint(25,50)