×

# EOF error problem while taking input.

 0 I am unable to run any program in python 3 ide because of the EOF error on the first line itself while taking the input for the number of test cases. I used T = int(input()) Please provide a solution. asked 05 Jan, 20:09 1 accept rate: 0%

 0 use try / except e.g: try: T = int(input()) except: pass  answered 05 Jan, 21:48 4★chauhain 37●2 accept rate: 33%
 0 Thank you. That worked. answered 07 Jan, 14:06 1 accept rate: 0%
 0 When I used try/except, it said 't' is not defined. What should I do? answered 10 Feb, 17:31 0★goku548 1 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×267
×21