We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Dear @brycefury, i have executed your code in python 2 but it is giving me the below error. Please help me what mistake i have done.
Traceback (most recent call last):
File "solution.py", line 14, in
print_formatted(n)
File "solution.py", line 3, in print_formatted
STDIN = int(raw_input())
EOFError: EOF when reading a line
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
String Formatting
You are viewing a single comment's thread. Return to all comments →
Dear @brycefury, i have executed your code in python 2 but it is giving me the below error. Please help me what mistake i have done.
Traceback (most recent call last): File "solution.py", line 14, in print_formatted(n) File "solution.py", line 3, in print_formatted STDIN = int(raw_input()) EOFError: EOF when reading a line