Thalassicus
Bytes and Nibblers
How do you use the len() function? I tracked down a bug to a line where I reference the length of a list, so I tested this and it gave an error:
What could the problem be? I think this is the correct syntax. I also tried blockedCities.len().
Code:
blockedCities = ["Test"]
testInteger = len(blockedCities)
if (testInteger == 1):
## Do nothing