Beginnger Question

Matthew Baulch matt at greenroom.com.au
Tue Apr 9 11:07:08 EDT 2002


I think the code you are looking for could be:

x = 2

def wrong(num):
   return num + 1

x = wrong(x)
print x

x = wrong(x)
print x




More information about the Python-list mailing list