Re: Need help to sort out the below code...

2013-09-14 Thread John Gordon
In <9f6d4a88-4ae4-4e61-9f73-c074ec3f4...@googlegroups.com> mnishpsyched writes: > print """ > Please select from the following menu: > 1. pizza > 2. steak > 3. pasta > 4. burger > type in any number from above for selection.. > """ > pz = raw_input() > pz = int(pz) > st = raw_input() > st = in

Re: Need help to sort out the below code...

2013-09-14 Thread Jugurtha Hadjar
Hello, mnishpsyched.. You also want the VAT to be computed as a percentage _of_ something, and not hard-coded, so that if you change the price of the pizza, you only have to change one value (pr_pz) instead of two values pr_pz and tx_tz (as the second is computed from the first). You only mu

Re: Need help to sort out the below code...

2013-09-14 Thread Terry Reedy
On 9/14/2013 2:34 AM, mnishpsyched wrote: Hello guys, i am new to programming and trying to solve this small coding: my purpose is to take in values from the user based on a menu provided for selection the output looks like this... please select from the following menu: 1. pizza 2. steak 3. pa