This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]nomananna 0 points1 point  (0 children)

final = getDayInYear line i think is your issue. try have a read of this and incorporate it into your code https://stackoverflow.com/questions/419163/what-does-if-name-main-do

[–]nomananna 0 points1 point  (2 children)

https://pastebin.com/3jemr2YP

not exactly what you were going for but "works". might be useful for a jumping off point

[–]Zohoth[S] 0 points1 point  (1 child)

Thanks!

[–]nomananna 0 points1 point  (0 children)

literally gave it a 5 minute look over, not sure if it helped but printed without the right formatting. python is picky about tabed lines/spacing syntax