Home » Python Programming » Python - Quiz(s) » Week 6 – Python Programming – Quiz

Week 6 – Python Programming – Quiz

Please enter your email:

1. It is good practice to include

 
 
 
 

2. the int identifies what in Python programming?

 
 
 

3. The correct formula for Fahrenheit to Celsius is:

 
 
 

4. What is the answer if this code is ran?

 

a = 347 / 12 * 2

print (a)

 
 
 

5. If I said it was 100 degrees outside with the following program, what is my answer?

# Finds temp with Fahrenheit to Celsius formula
# Matt Cole
# 9.18.16

a = int(input(“How cold is it outside “))

celsius = (a – 32) * (5/9)

print (“It is the following “)
print (a, “in Fahrenheit and “)
print (celsius, “in Celsius.”)

 
 
 


Leave a comment

Your email address will not be published. Required fields are marked *