|
|
|
|
|
by theorique
5050 days ago
|
|
you can get even crazier if you add in plenty of spurious logging # print out the value of x prior to increment
print("x value prior to increment: %d" % x) # increment the value of x
x += 1 # print out the value of x after increment by one
print("x value after increment by one: %d" % x) |
|
I sort of wish someone would allow comments and logging to be combined as language features.