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

Who wrote odor of chrysanthemums?
why does Beowulf insist on fighting grendel without weapons?
What airspeed and direction should an airplane maintain in order to continue having a ground speed of 800 km/h and a direction of 140° with wind at 130 km/h at
A point charge of +5 μC is located at the center of a sphere with a radius of 12 cm . What is the electric flux through the surface of this sphere ?
Select the words in the following sentence that should be capitalized. when i was in north africa i read the cairo news every morning. a. there are no capitali
What happens when a computer gets a virus?
On an outing to the theatre the tickets are £8.50 each for every ten tickets bought you get two extra free tickets. How much would it cost if you wished 12 tick
which of the following has the greatest impact on human settlement in Iraq? A( oil resources B( mountain terrain C( coastal lands D( fresh water scources
PLS ANSWERRRRRif you have $20 in your gift card and you use $30 what happens?
contrast the positive and negative effects of increased automobile ownership in 1920s