subject
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.)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:10
The total cost of textbooks for the term was collected from 36 students. create a histogram for this data. $140 $160 $160 $165 $180 $220 $235 $240 $250 $260 $280 $285 $285 $285 $290 $300 $300 $305 $310 $310 $315 $315 $320 $320 $330 $340 $345 $350 $355 $360 $360 $380 $395 $420 $460 $460
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
question
Computers and Technology, 24.06.2019 10:30
Which of the following types of software is most applicable to the promotion of new products through advertising? a.databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
You know the right answer?
Python

1) Use two variables k and total to write a for loop to compute the sum of the sq...
Questions
question
Mathematics, 19.01.2021 14:00
question
Mathematics, 19.01.2021 14:00
question
Mathematics, 19.01.2021 14:00
question
Mathematics, 19.01.2021 14:00
question
Mathematics, 19.01.2021 14:00
question
Computers and Technology, 19.01.2021 14:00