anjola2444 anjola2444
  • 13-07-2022
  • Computers and Technology
contestada


Write a program that prints out a list of the integers from 1 to 20 and their
squares. The output should look like this:
1-1
2-4
3-9
20-400

Respuesta :

Vortorix
Vortorix Vortorix
  • 13-07-2022

Answer:

for x in range(1,20):

   print(f'{x}-{(x**2)}')

Answer Link

Otras preguntas

What role do turning points play in the process of periodization?
Reproductive maturation of boys lags behind that of girls by about _________ year(s).
Assimilation is to accommodation as _______. necessary is to optional help is to hinder hinder is to help using is to changing
Identify the set of numbers that best describes each situation. Explain your choice. 1. The height of an airplane as it descends to an airport runway. 2. The sc
if momentum is increased by 20% then K.E increases by A.44% B.55% C.66% D.77%
Are collision more likely to happen between stars planets or galaxies
The word formation is made up of a _____. A)root and a suffix B)root and a prefix C)root, a prefix, and an inflection
4. The manager of a company wants to inform his employees that they will not receive a high holiday bonus because revenue is down by 5%. He doesn't want to use
The results of the large national longitudinal study of child care indicate that
In George's Geometry class, tests are worth 50%, homework is worth 25%, and quizzes are worth 25%. Each grade is based on a 100 scale. George's scores: Test 1