pianz pianz
  • 10-04-2021
  • Computers and Technology
contestada

Write a python program to print the square of all numbers from 0 to 10.

Respuesta :

fatima675
fatima675 fatima675
  • 10-04-2021
Here is the answer of you question
Ver imagen fatima675
Answer Link
Averysmartperson
Averysmartperson Averysmartperson
  • 10-04-2021

Answer:

for i in range(11):

    print(i^2)

It goes through printing the square of each number with a range of 11 since 0 is also included

Answer Link

Otras preguntas

An example of a reserved power to the states by the 10th Amendment is the power to (3 points)
Write each sum as a product of the GCF of the two numbers 36 and 45
Find the surface area to the nearest 10th of a cylinder with a radius of 3 cm and a height of 7 cm use 3.14 for PI
Last year , there were 30 male members and 20 female members in a Chess Club . This year , the number of male members is decreased by r% while the number of fem
We are given that f(x) 2x^2 + a. If a is a constant and f(2)+f(3)=f(5), what is the value of a?A)6B)12C)24D)48
What type of data does the United States Geological Survey not collect? population statistics water resources natural disasters climate patterns
What is the range of the function f(x) = sqrt x+3   – 7? f(x) ≥ –7 f(x) ≥ –3 f(x) ≥ 3 f(x) ≥ 7
cereals for Science Grade4
Eggs were $2.05 per dozen on January 1 and $2.00 per dozen on February 1. What percent did the price decrease during January?
I need help on this question