Re: building a small calculator

2005-04-20 Thread aleksander . helgaker
Thats great info. Thanks. I guess I would know about this if I read through all the manuals, but I'm awefull at reading that kind of stuff. I'll just have to plow through it somehow. -- http://mail.python.org/mailman/listinfo/python-list

Re: random number between 0 and 20

2005-04-20 Thread aleksander . helgaker
Yes I know about assigning and all that. I just stated the name of the variable so that people could easily explain how to create the random number. I needed it to practice Python. I just finished making a number guess program. I just finished it. It was much easier to do then I thought it would be

random number between 0 and 20

2005-04-20 Thread aleksander . helgaker
How can I generate a random number between 0 - 20 and store the number in nrrandom? -- http://mail.python.org/mailman/listinfo/python-list

Re: building a small calculator

2005-04-20 Thread aleksander . helgaker
Sorry. This is my first day using Python. Is there an equivelent to the goto command? I want to find some way to take the user back to the main menu. -- http://mail.python.org/mailman/listinfo/python-list

Re: building a small calculator

2005-04-20 Thread aleksander . helgaker
I get the following error message when using the command sys.exit(). name 'sys' is not defined. -- http://mail.python.org/mailman/listinfo/python-list

building a small calculator

2005-04-20 Thread aleksander . helgaker
I'm learning to program python on my Mac and I'd like some help. I followed a tutorial which showed how to make a calculator for working out the area of a shape. E.g. the area of a circal is pi*r*r. To practice a bit I thought I'd make the program more advanced but I'm already having difficoulties