How to write a Python program to calculate a summation

preview_player
Показать описание
This video is part of the mathematics course at Queen's University Belfast
Рекомендации по теме
Комментарии
Автор

I believe this answer is incorrect. If you want to solve for "n=5", the Python code needs to use "range(6)".

sloanlance
Автор

Is it possible to set the end number (where you put 5) to x and let the user input x?

zhanna
Автор

Now how do I get all those answers together???.

ataladin