Computers and Technology
Computers and Technology, 26.02.2020 02:42, Raajo

Python

1) Use two variables k and total to write a for loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total . Thus, your code should put 1*1 + 2*2 + 3*3 +... + 49*49 + 50*50 into total . Use no variables other than k and total .



2) Given a positive integer n , assign True to is_prime if n has no factors other than 1 and itself. (Remember, m is a factor of n if m divides n evenly.)

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 00:00, BluedragonKBT44
The gene form of a trait is called a(n) 
Answers: 2
image
Computers and Technology, 24.06.2019 09:30, nialphonsa
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
image
Computers and Technology, 24.06.2019 12:00, elainnysanchez1541
How can we take picture in this app
Answers: 1
image
Computers and Technology, 24.06.2019 17:00, yobanajk
Aman travel 200m towards east< br /> from his house then takes left< br /> to turn and moves 200 m north< br /> find the displacement & distance.< br />
Answers: 3
Do you know the correct answer?
Python

1) Use two variables k and total to write a for loop to compute the sum of the sq...

Questions in other subjects:

Konu
English, 28.12.2020 14:00
Konu
Mathematics, 28.12.2020 14:00
Konu
Mathematics, 28.12.2020 14:00
Konu
Physics, 28.12.2020 14:00
Konu
English, 28.12.2020 14:00