[Tutor] Rounding to nearest cent

2007-05-22 Thread Jessica Brink
How would I round to the nearest cent when doing calculations with dollar amounts? -Jess ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Type Conversion

2007-05-09 Thread Jessica Brink
Am I missing a step on converting the variable C from a string to an integer, or is it not possible to do this? I get the error that it is not possible to concatenate a str and int. Thanks! Jessica Brink Business/Computer Teacher Northland Pines High School Eagle River, WI 71

[Tutor] Running a program

2007-05-01 Thread Jessica Brink
I know this seems elementary, but if I write a program and save it as a .py file, how do I then run that program on the command line or in the Python Shell (GUI)? Or is there something I'm missing? I swear I was able to do this once, and now I can't remember what I did... Jes