Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Navigatr9276ydevRant needs some proper way of posting code snippets that doesn't mess up indentation. :( Now my code will never run.
-
Navigatr9276y@R1100 Yeah, a while-loop should've been obvious, shouldn't it... And I know about the variable name, which is why I added the NameError tag. :P
Related Rants
import datetime
today = datetime.date.today()
if (today.month, today.day) == (10, 20):
age += 1
random
python
nameerror: name 'age' is not defined