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
problem. I¹m on Mac OSX 10.11.3.

Here¹s an example of what¹s happening:

>>> 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
>>> 

When I put the integer in, I understand it¹s supposed to return ³odd² or
³even,² but it¹s not giving me anything.

Also, at the top of the shell I¹m getting this message:
WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/mac/tcltk/ for current information.

I¹ve downloaded and installed the program for this. Maybe there¹s something
else I¹m supposed to do?

Anyway, as you can tell, I¹m very new to this. Thanks for any help you can
offer.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to