Tag: sum

  • Python Exercises For Beginners – #1 – Sum all integers from Zero to N

    Python Exercises For Beginners – #1 – Sum all integers from Zero to N

    Create a Python function that sums all the numbers from 0 to a number N. If a non-positive or a non-integer number is provided, the function should return 0. This Google Colab notebook is part of my “Python Problemns for Beginners” Youtube series: https://youtube.com/playlist?list=PL3OV2Akk7XpC-fsHuJ3RLpnzOXmED7oAI In this video, the first in the series, I show you […]