Re: [Tutor] Newbie question: programs not printing

2016-03-10 Thread Alan Gauld
On 10/03/16 13:33, Patrick Craine wrote: > I downloaded Python 2.7.11 but for some reason it seems that it's not > responding the way it¹s supposed to. I haven¹t been able to figure out the > problem. I¹m on Mac OSX 10.11.3. You probably didn't need to download Python because it is installed by d

Re: [Tutor] Newbie question: programs not printing

2016-03-10 Thread Marc Tompkins
On Thu, Mar 10, 2016 at 5:33 AM, Patrick Craine wrote: > >>> x = int(raw_input('Enter an integer: ')) > if x%2 == 0: > print 'Even' > else: > print 'Odd' > if x%3 != 0: > print 'And not divisible by 3' > Enter an integer: 3 > >>> > > It could be your email program that's messing with your indenta

[Tutor] Newbie question: programs not printing

2016-03-10 Thread Patrick Craine
Hey guys, I¹m at the very beginning of learning programming. I started using Khan Academy and now am watching the intro course on MIT OpenCourseWare. I downloaded Python 2.7.11 but for some reason it seems that it's not responding the way it¹s supposed to. I haven¹t been able to figure out the pr