MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1y14m3t/is_this_suitable_for_beginners/
r/PythonLearning • u/Esaiasilence • 2d ago
1 comment sorted by
1
Yuppp Some improvement i would make is
if time_start == time_end :
time_start = time_start - 1
time_start -= 1
print(time_start)
1
u/Due-Mortgage-6854 2d ago
Yuppp Some improvement i would make is
if time_start == time_end :inside the loop is unnecessary as the loop already has this as condition. You can put the output outside the loop.time_start = time_start - 1can be replaced bytime_start -= 1print(time_start)at the start of your loop so that it includes the value you're starting from.