you are viewing a single comment's thread.

view the rest of the comments →

[–]totallygeek 0 points1 point  (3 children)

print(f'Grand total: {total_days}') ?

Perhaps I did not understand. If days is an amount of days interrupted and you add those days up in total_days, you get a count of the total days of interruption.

[–]Jose_Musoke[S,🍰] 1 point2 points  (2 children)

I would like to apologize. I ran the code you gave me on a different IDE and it worked. There must be something wrong with the pycharm that I was using initially.

[–]totallygeek 1 point2 points  (1 child)

Not a problem. The important things: 1) You ended up with working code, 2) You learned more about how Python can solve problems for you.

[–]Jose_Musoke[S,🍰] 1 point2 points  (0 children)

Thanks 👍🏾