Hi all i m new to python can someone give me idea how to print square


#1

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 — 9strong text****

20 — 400

i have tried with for i in range(21):
** print(i) but dont know how to print square in front of it**

Thank you,
narayan ghorpade


#2

its easy to find the basic math operators online:

https://www.tutorialspoint.com/python/python_basic_operators.htm