Why is this Not Printing Anything?


#1

Why won’t it show the answer to the float command on the print screen?
There are no answers on the print screen:

cucumbers = 100

num_people = 6 

whole_cucumbers_per_person = 100/6

print " whole_cucumbers_per_person"

float_cucumbers_per_person = 100./6
 
print"float_cucumbers_per_person"


quotient = 7./2

float = 100./6
print"float"

FAQ: Learn Python - Python Syntax - Two Types of Division
#2

you print strings, not variables.