Hi 🙂 this time I posting my latest code in Python 3 where I ask for two integers and then sum the numbers between them (but also inclusive the numbers given) for example;

Lower number:6
Upper number:10

(6+7+8+9+10)=40

So here’s my code:

WSQ07

This task was difficult to me because I used some new features that I’ve never used before like try: break: expect: ValueError

The following sources help me during the task:

Python for software design by Allen B. Downey

Python 3 documentation (web page)

Python Course (web page)

That’s all folks!

Credits to Giphy

CC BY 4.0 WSQ07 – Sum of Numbers by cesarisc is licensed under a Creative Commons Attribution 4.0 International License.