Alan Gauld wrote:
>
> "Sylvia DeAguiar" wrote
>
>> The code runs fine on python shell (from run module) but
>> when I try to execute the program from its file, it always
>> prints out c, regardless
>
>> x = input("a, b, or c:")
>> ...
>> else:
>> print ('c')
>
> It looks like IDLE is runn
"Sylvia DeAguiar" wrote
The code runs fine on python shell (from run module) but
when I try to execute the program from its file, it always
prints out c, regardless
x = input("a, b, or c:")
...
else:
print ('c')
It looks like IDLE is running Python V3 where as the
shell is picking u