On 20/07/12 17:25, Alan Gauld wrote:
On 20/07/12 02:01, Ross Wilson wrote:
More specifically, eval() is dangerous if you try to evaluate a string
supplied by someone else. You really can't predict what will happen.
It really doesn't matter who provides the string, Python and ev
On 20/07/12 10:45, Dave Angel wrote:
On 07/19/2012 08:36 PM, Osemeka Osuagwu wrote:
...
99 ninety nine
100 onehundred
101 one hundred and one
102 one hundred and two
103 one hundred and three
104 one hundred and four
105 one hundred and five
106 one hundred and six
107 one hundred and seven
108
On 18/07/12 15:09, Santosh Kumar wrote:
Here is my script:
name = raw_input("What's your name? ")
if name == "Santosh":
print "Hey!! I have the same name."
elif name == "John Cleese" or "Michael Palin":
print "I have no preference about your name. Really!!"
else:
print "You hav