MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1wfvchb/dont_know_why_i_wrote_this_code/p9rhb4z/?context=3
r/PythonLearning • u/ProgramBrave718 • Sep 14 '26
35 comments sorted by
View all comments
1
Instead of len(my_life), sum(my_life) will return the number of trues.
1 u/ProgramBrave718 Sep 14 '26 Yeah, i will keep it in my mind
Yeah, i will keep it in my mind
View all comments
1
u/python_gramps Sep 14 '26
Instead of len(my_life), sum(my_life) will return the number of trues.