Skip to content
New issue

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

Wrong Symbol for Console IO #3

Closed
M9909-AB opened this issue Nov 9, 2021 · 1 comment
Closed

Wrong Symbol for Console IO #3

M9909-AB opened this issue Nov 9, 2021 · 1 comment

Comments

@M9909-AB
Copy link

M9909-AB commented Nov 9, 2021

hofstadter/hofstadter.py

Lines 38 to 41 in 1c30c61

# Stdin/stdout.
if self.text[self.index] == '#':
self.index += 1
return ('#', '#')

In the above lines from the interpreter, the symbol for console io is denoted by #. Either the documentation should be updated to reflect that or the interpreter should be updated to be consistent with the documentation.

@AZHenley
Copy link
Owner

Fixed in fdf29f1, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants