We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when entering text in the stdin field, if a trailing newline is added, it will not be taken in account
run the following program with the stdin set to what is below:
import sys while (char := sys.stdin.read(1)) != "\n": print(char)
hello world
Warning
the trailing newline must be included.
the program should print each character of hello world on its own line
the program does print each character of its own line, but then the programs hangs trying to read the standard input
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug report
description
when entering text in the stdin field, if a trailing newline is added, it will not be taken in account
steps to reproduce
run the following program with the stdin set to what is below:
program
stdin
Warning
the trailing newline must be included.
expected behavior
the program should print each character of
hello world
on its own lineactual behavior
the program does print each character of its own line, but then the programs hangs trying to read the standard input
The text was updated successfully, but these errors were encountered: