---
title: "Ankit Kumar (@anki1kr) | Hashnode"
description: "BCA student building DSA Tracker, a free place to learn, practise and revise DSA. Read the latest articles by Ankit Kumar on Hashnode."
url: "https://hashnode.com/@anki1kr"
---

@anki1kr

# Ankit Kumar

@anki1kr · Joined October 2026

BCA student building DSA Tracker, a free place to learn, practise and revise DSA

[Website](https://dsatracker.tech/)

### [Why input() fails in online compilers (EOFError) and how to fix it](https://anki1kr.hashnode.dev/why-input-fails-in-online-compilers-eoferror-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

You write name = input() and print("hi", name), press Run, and get EOFError: EOF when reading a line. Your Python syntax is fine. The problem is that your program asked for a line of input, and there

6 min read · [anki1kr.hashnode.dev](https://anki1kr.hashnode.dev/why-input-fails-in-online-compilers-eoferror-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

[6d ago](https://hashnode.com/posts/why-input-fails-in-online-compilers-eoferror-and-how-to-fix-it/6b09911854bf6c732b7fdc1f)
