# This program is for the 3rd class of Yufeng Chinese School CPSC. #print 'Hello1', #print "Hello2" #print 'Hello1', 'Hello2' # Types of input #print 'Nine' #print '9' #print 9 #print 'a' #print a # varying the output #print '10+1' #print 10+1 #print 'jkhuyvbjhgfvvbnmjhgfdcvbnjhgfdfvhjkjhgvcx' # Input definitions #x = raw_input('Enter the value of x: ') #x = input('Enter the mathematical value of x: ') #print 'The value of x is equal to', x #print 'The value of x as an integer equals', int(x) #print 'The value of x as a float number equals', float(x) # This part demonstrates how to import the math module into python. import math x = math.pi #print x #print float(x) #print int(x) #print float(x) print x x = float(x) print x x = int(x) print x x = float(x) print x