← 输入框|github.com|刷新
Skip to content

Latest commit

 

History

History

loops

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Loops

https://www.hackerrank.com/challenges/python-loops

Problem

Task

Read an integer N. For all non-negative integers i < N, print i^2. See the sample for details.

Input Format

The first and only line contains the integer, N.

Output Format

Print N lines, one corresponding to each i.

Sample Input 0

5

Sample Output 0

0
1
4
9
16

My Solution