+ 1
Need solution
Not showing all output☹️ Full code: https://code.sololearn.com/c6qdl8EYrTif/?ref=app
3 Respuestas
+ 5
You have a typo there. In line 44 you declare a variable "nest" and two lines later you are using "next".
Advice:
- do not call your variable "next". It is not an error in itself, but next() is also a built-in function and by declaring a variable with this name, you overwrite this function.
- your code is too large and confusing. It is trying to do tooany things. It is better to split them up in multiple parts, that way you will also find the error more easily.
+ 4
instead of this:
print("next 5 days are ", next + datetime.timedelta(days=x1))
write this:
print("next 5 days are ", nest + datetime.timedelta(days=x1))
+ 2
Thanks Tibor Santa SoloProg ❤️🔥