GulfOfMexico
GulfOfMexico copied to clipboard
what would happen if: print("DreamBerd")!!?
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)
I think it should be like !x1 and print to debug ???? -> !x-2 + debug !!! -> !x3 ?!? -> !x1-√2 + debug
so like n ? is -√n !
what do you mean with all the math?