Created
October 7, 2018 10:00
-
-
Save anuragrana/998d5eb7159783544f96ff9fb21d4c01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Printing square of all numbers less than number n. | |
# n is provided at runtime. | |
# Author: https://www.pythoncircle.com | |
# | |
if __name__ == '__main__': | |
n = int(input()) | |
for x in range(n): | |
print(x*x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment