diff --git a/square_of_numbers.py b/square_of_numbers.py index e69de29..5d60480 100644 --- a/square_of_numbers.py +++ b/square_of_numbers.py @@ -0,0 +1,11 @@ +def squareOfNumbers(n): + dictionary =dict() + if n <= 100: + for i in range(1,n+1): + dictionary[i] = i**2 + return dictionary + + +n = input('Enter n :') + +print squareOfNumbers(n) diff --git a/square_of_numbers.pyc b/square_of_numbers.pyc new file mode 100644 index 0000000..54b0963 Binary files /dev/null and b/square_of_numbers.pyc differ diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000..ac85943 Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_squareOfNumbers.pyc b/tests/test_squareOfNumbers.pyc new file mode 100644 index 0000000..7180480 Binary files /dev/null and b/tests/test_squareOfNumbers.pyc differ