ph=float(input("Input ph: "))
if ph<7.0:
print "acid"
elif ph>7.0:
print "basic"
else:
print "don't know what:)"
paste it in notepad and save as some_name.py
or i can send you this file
it is realy easy.
26.03.2014 03:28, Steven D'Aprano пишет:
On Tue, Mar 25, 2014 at 10:21:49PM +0300, Saad Bashir wrote:
2. Another problem is that the Python shell is allowing me to copy/paste
any code at all. Is there something I am not doing right?
Which shell are you using? How are you trying to copy/paste? Are you on
Linux, Mac, Windows, or something else?
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor