Re: How to repeat a loop once it is finished

2015-10-15 Thread Mark Lawrence
On 15/10/2015 15:06, abba...@centralfoundationboys.co.uk wrote: could you change it to python v3.4 Sorry no, try python 1.5, it's got far fewer bugs. As an alternative, please tell us what the hell you're on about, we're not mind readers. -- My fellow Pythonistas, ask not what our language

Re: How to repeat a loop once it is finished

2015-10-15 Thread Denis McMahon
On Thu, 15 Oct 2015 06:29:24 -0700, abbasmo wrote: > what would be a small thing that I could add to make this thing run > again? See what happens when you run the following code. Then adapt it to your application. stop = False while not stop: x = input("enter something, quit, stop or end t

Re: How to repeat a loop once it is finished

2015-10-15 Thread Denis McMahon
On Thu, 15 Oct 2015 14:51:05 +0100, Mark Lawrence wrote: > On 15/10/2015 14:31, abba...@centralfoundationboys.co.uk wrote: >> if you could write a small piece of code for me it would great >> >> > If you used your favourite search engine in an attempt to write the code > before you ask questions a

Re: How to repeat a loop once it is finished

2015-10-15 Thread abbasmo
could you change it to python v3.4 -- https://mail.python.org/mailman/listinfo/python-list

Re: How to repeat a loop once it is finished

2015-10-15 Thread Mark Lawrence
On 15/10/2015 14:31, abba...@centralfoundationboys.co.uk wrote: if you could write a small piece of code for me it would great If you used your favourite search engine in an attempt to write the code before you ask questions about it, then that would be even better. Knowing what piece of cod

Re: How to repeat a loop once it is finished

2015-10-15 Thread Nagy László Zsolt
> what would be a small thing that I could add to make this thing run again? Something like this? TERMINATOR = "STOP" def read_int(prompt,minvalue,maxvalue): while True: answer = raw_input(prompt) if answer.lower().strip() == TERMINATOR.lower().strip(): print "Us

Re: How to repeat a loop once it is finished

2015-10-15 Thread abbasmo
if you could write a small piece of code for me it would great -- https://mail.python.org/mailman/listinfo/python-list

How to repeat a loop once it is finished

2015-10-15 Thread abbasmo
import time #this is so that i can set a timer print ("only print numbers as your answers (Round all numbers up) also the programme adds 0.5 extra for cost of : ") time.sleep(2) #this is to let the person know what format to write it in# answer = input ("enter the height of the room walls betwee