Re: [Tutor] Startup Python

2017-04-12 Thread Alan Gauld via Tutor
On 12/04/17 13:47, Wim Berrelkamp wrote: a=2 Here you assign the number 2 to 'a' d=a+4 print(d) > 6 > a=input('-->' ) Here you assign whatever character(s) the user types to 'a'. The fact that it looks like 2 doesn't change the fact that it is really the character '2'. So you nee

[Tutor] Startup Python

2017-04-12 Thread Wim Berrelkamp
Dear Tutor, In earlier days I programmed a lot with Quick Basic in DOS. Now I retiered, I hoped to have Python as a platform. So I installed it and saw a lot of simmularity with Basic. I hope you can help me with the following, which should not be difficult, but I cannot find the solution. When