Re: [Tutor] Tutor Digest, Vol 161, Issue 41

2017-07-30 Thread Borisco Bizaro
Please I have been ask to write python code that ask user to enter a price continuetly until key press to and give the total amount of price I have enter using while loop I don't know how to go about it,please help me On Jul 29, 2017 17:00, wrote: > Send Tutor mailing list submissions to >

Re: [Tutor] Tutor Digest, Vol 161, Issue 41

2017-07-30 Thread Alan Gauld via Tutor
On 30/07/17 19:50, Borisco Bizaro wrote: > Please I have been ask to write python code that ask user to enter a price > continuetly until key press to and give the total amount of price I have > enter using while loop I don't know how to go about it First of all, please do not send the whole diges

Re: [Tutor] Tutor Digest, Vol 161, Issue 33

2017-07-30 Thread Borisco Bizaro
Please I have been ask to write python code that ask user to enter a price continuetly until key press to and give the total amount of price I have enter using while loop I don't know how to go about it,please help me This is what I have done, untitled a=1 b=2 while a wrote: > Send Tutor mailing l

[Tutor] While loop homework: was Re: Tutor Digest, Vol 161, Issue 33

2017-07-30 Thread Alan Gauld via Tutor
On 30/07/17 23:36, Borisco Bizaro wrote: > a=1 > b=2 > while a input ("enter another price :") Do 'a' or 'b' ever change? Does 'a print"\n\n press 0 key to stop" Does the user ever get the chance to enter a value? If they were, Where is the value stored and is the value ever used? >> When rep

[Tutor] Recommended Python Compiler

2017-07-30 Thread George Sconyers via Tutor
Hello all. I am getting started with Python and looking for a recommended compiler for an Ubuntu environment. I've been using gedit but don't get the benefit of auto-indentation and color coding of key words. It is laziness for sure but as the programs get longer I am increasingly OK with being

Re: [Tutor] Recommended Python Compiler

2017-07-30 Thread Danny Yoo
On Sun, Jul 30, 2017 at 3:22 PM, George Sconyers via Tutor wrote: > Hello all. I am getting started with Python and looking for a recommended > compiler for an Ubuntu environment. I've been using gedit but don't get the > benefit of auto-indentation and color coding of key words. It is laziness

Re: [Tutor] Recommended Python Compiler

2017-07-30 Thread Alan Gauld via Tutor
On 30/07/17 23:22, George Sconyers via Tutor wrote: > ...looking for a recommended compiler for an Ubuntu environment. In programming precision is everything. You are not in fact looking for a compiler, you are looking for a development environment or IDE. A compiler takes source code and produ

Re: [Tutor] Recommended Python Compiler

2017-07-30 Thread Mats Wichmann
since this all opinions :), I don't think idle is worth bothering with. for editor that can do ide like things, consider atom (free, get a bunch of plugins) or sublime text (not free). for a full ide, pycharm is great (community edition free). for a lightweight ide to get started, i liked thonny

Re: [Tutor] Recommended Python Compiler

2017-07-30 Thread Ben Finney
George Sconyers via Tutor writes: > Hello all. I am getting started with Python and looking for a > recommended compiler for an Ubuntu environment. Python comes with a compiler: it is the ‘python’ command, which compiles your program code ‘foo.py’ to a bytecode file, typically ‘foo.pyc’. You mi