+ 3

Exercises for python

Hello! Where I can find the exercises for python? Thank you for help)

18th Jan 2017, 8:21 AM
Igor TREXIG
Igor TREXIG - avatar
7 Antworten
+ 12
As Cheeze-Senpai would come over and say: www.codewars.com
18th Jan 2017, 8:41 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
Yeah, www.codewars.com Jesus I really sound like an ambassador for this site.
18th Jan 2017, 10:47 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
Thanks)
18th Jan 2017, 11:10 AM
Igor TREXIG
Igor TREXIG - avatar
+ 2
Help plis ?
1st Mar 2021, 10:28 AM
ilyass nafi
ilyass nafi - avatar
+ 1
Help the python ?? No one likes homework, but your math teacher has given you an assignment to find the sum of the first N numbers. Let’s save some time by creating a program to do the calculation for you! Take a number N as input and output the sum of all numbers from 1 to N (including N). Sample Input 100 Sample Output 5050 Explanation: The sum of all numbers from 1 to 100 is equal to 5050
1st Mar 2021, 10:28 AM
ilyass nafi
ilyass nafi - avatar
0
N = int(input()) for i in range(0,N+1): sum = N*(N+1)/2 print(int(sum)) break
11th Mar 2021, 10:49 AM
Amit Rawat
0
Sum of Consecutive Numbers No one likes homework, but your math teacher has given you an assignment to find the sum of the first N numbers. Let’s save some time by creating a program to do the calculation for you! Take a number N as input and output the sum of all numbers from 1 to N (including N). Sample Input 100 Sample Output 5050
13th Mar 2021, 4:15 PM
Syed Fahad Ahmed
Syed Fahad Ahmed - avatar