b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 10059707 (Thread)

# I've been reading a python book
I'm up to chapter 5. I can't do a thing with it.
(, Fri 21 May 2010, 13:23, archived)
# Try this...
while true:
print "MrOli is great!";
(, Fri 21 May 2010, 13:38, archived)
# Traceback (most recent call last):

File "", line 1, in
while true:
NameError: name 'true' is not defined
(, Fri 21 May 2010, 13:51, archived)
# DAMMIT!
My Python is rusty.
(, Fri 21 May 2010, 13:54, archived)
# Pffft!
h = acceptable humour content
p = raw_input("Joke: ")
If p = h:
print "Pfft!"

(, Fri 21 May 2010, 13:51, archived)