Skip to content
Advertisement

Exact output was coming but some error was raising

In the above Python code the exact output was coming but after output they were showing some error

JavaScript

Here we are giving input as

JavaScript

The Error was

JavaScript

Here VIP is the output

For Question and test cases please refer below link https://drive.google.com/file/d/1cXmIW56uurB83V4FNRuNw9VhJ7RcYU9j/view?usp=sharing

Advertisement

Answer

if you are using an online IDE;

EOFError is raised when one of the built-in functions input() or raw_input() hits an end-of-file condition (EOF) without reading any data. This error is sometimes experienced while using online IDEs. (https://www.geeksforgeeks.org/handling-eoferror-exception-in-python/)

try not to use online IDEs its better to download python

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement