Stay N Tom

Showing a slice of what it means to be Thomas.

Pages

Tuesday, August 2, 2011

IDLE (python GUI) (Continued)

Press new window then type
print "I love pizza!"
print "pizza " * 20
print "yum " * 40
print "I'm full."
then save it as pizza.py (Always put .py at the END of your python files.).
click run then press run model.
Next were going to give tags names. Type Teacher = "Mr. Morton" then press enter and type in print Teacher and press enter again(You can also do this with numbers). If you do this print "56 + 54" and press enter. 

2 comments:

  1. Thomas,

    Very informative. I have never programmed in Python before, so I'm definitely learning something.

    Since you're using Blogger to blog, one thing that you might want to do is add pictures of the output of the programs. That way, your readers can see what the results should look like.

    ReplyDelete