Working on algebra over the summer, we tried a little programming. This is O’s first program, which gives the chirp rate of crickets based on the temperature.
t = float(raw_input('enter temperature> ')) n=4*t-160 print "number of chirps=", n print "t=", t