Find the answers of the following expressions.
Show your steps.
1 + 2 + 3 + ... + 100
1 + 3 + 5 + ... + 89
1 + 2 + 22 + 23 + ... + 210
Write a for
loop to calculate the sum of the sequence from 1 to
the number user entered.
Run your program and debug your mistakes until it is correct.
Send your source code (.py file) to Canvas.
Write a for
loop to calculate the sum of the odd numbers from 1 to
the number user entered.
You must find how many terms of the odd numbers to add together
before you write a loop.
Run your program and debug your mistakes until it is correct.
Send your source code (.py file) to Canvas.