Introduction to Programming Python and C++

Tag Archives: #WSQ07

WSQ07

https://github.com/estebanpinal/WSQ/blob/master/WSQ07

WSQ07

WSQ07

Ranges, bounds, formulas! Mathematically, there’s a really cool operation we could use to get the integer sum of [n_1, n_2], so when I read that that wasn’t what we had to do (at least not exactly) it felt more interesting. Here’s the GitHub code link: WSQ 7.

WSQ07 – Sum of Numbers

For calculating the sum I used a while-loop. This one is nested in an if-else statement, so that the program can tell the user when we confused the lower with the upper bound. This is my code: print(“I will calculate the sum of numbers in a range you select.”) numLow = numLow1 = int(input(“What is […]

#WSQ07

In this WSQ we were suppose to write a code to make a sum of the integer numbers in a given range, this using functions. The hard thing about this was that we had to put together all the topics we had covered before like functions, basic operations, use of else and if and even … Continue reading #WSQ07

#WSQ07

In this WSQ we were suppose to write a code to make a sum of the integer numbers in a given range, this using functions. The hard thing about this was that we had to put together all the topics we had covered before like functions, basic operations, use of else and if and even … Continue reading #WSQ07

WSQ 07 Sum of numbers

In this case I need to make a program where the user gives two numbers and the computer gives the sum between the range of that numbers. In this occasion Ken was very helpful because he write in the blackboard… Continue Reading →

WSQ 07 Sum of numbers

In this case I need to make a program where the user gives two numbers and the computer gives the sum between the range of that numbers. In this occasion Ken was very helpful because he write in the blackboard… Continue Reading →

Sum of numbers

This task was about making a programm that asks the user for two integers. The user will read that the first number she/he types will be the begining of a serie of numbers and the second will be the end… Continue Reading →

WSQ07

This was challenging but surprisingly fun. I had some problems that were solved understanding what I was doing so the book helped me a lot.
This is my code:

This is Sumofnumbers.py in action:

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).