You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a compiler/ interpreter and have run into this edge case. I have 3 ideas on how to handle this.
1 throw an error
2 ignore the 2 exclamation marks
3 count all of them for importance but act as if it is only question marks.
(I made multiple ?'s like multiple !'s)
The text was updated successfully, but these errors were encountered:
Dark-Ai-py
changed the title
what would happen if print("DreamBerd")!!?
what would happen if: print("DreamBerd")!!?
Jul 9, 2024
I am writing a compiler/ interpreter and have run into this edge case. I have 3 ideas on how to handle this.
1 throw an error
2 ignore the 2 exclamation marks
3 count all of them for importance but act as if it is only question marks.
(I made multiple ?'s like multiple !'s)
The text was updated successfully, but these errors were encountered: