Vous êtes sur la page 1sur 1

Name : ___________________________ Date : _________________

A+ Computer Science
Basics Worksheet 1

Directions : Show the output of each block of code below.

1. What is the output?


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

2. What is the output?


print("Name: \tNathan")

3. What is the output?


print(4*5+10/3)

4. What is the output?


num1 = 3
num2 = 2
num1 = num1 + num2
print(num1)

5. What is the output?


num1 = 8
num2 = 2
num1 = num1 * num2 + num1
print(num1)

© A+ Computer Science – Python Basics Worksheet – www.apluscompsci.com

Vous aimerez peut-être aussi