#### # 1.py # erase the hashtags to run the code! #print 1 + 1 #print 7.1 * 4000 #a = 9 #print a**2 #print 100/50 #print 100/51 #phi = (1 + 5**(1/2.)) / 2 #e = (1 + 1/100000.)**100000 #One way to estimate pi is to use the following infinite series #index = 1 #pi = 0. #pie = 4. #while abs(pi-pie) > .00001: # pie = pi # pi = pi + (-1)**(index + 1)/(2.*index-1) # index = index + 1 #print 4*pi #Or we can do this #import math #print math.pi