Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Print non-negative numbers using for loop
- Out put should be square of each number in seperate line : i<n , print i square
- """
- if __name__ == '__main__':
- n = int(raw_input())
- #for loop
- for i in range(n):
- print(i**2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement