A First Program

Posted July 10, 2014

by Lensyl Urbano

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

Citing this post: Urbano, L., 2014. A First Program, Retrieved November 18th, 2017, from Montessori Muddle: http://MontessoriMuddle.org/ .
Attribution (Curator's Code ): Via: Montessori Muddle; Hat tip: Montessori Muddle.

Leave a Reply

You must be logged in to post a comment.

Creative Commons License
Montessori Muddle by Montessori Muddle is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.