+ 2
How to take unicode input on Sololearn?
I have used Kirk Schafer's technique for unicode enabling, and it works for display. But when I take non-ASCII input, like 'Ăźben', I get an error. How to tackle that? https://code.sololearn.com/coz021hmoFjt/?ref=app
2 Answers
0
You need to use encode in your program
https://code.sololearn.com/cYf5Nxaf5n20/?ref=app
0
Airat Abdrakov đ¸, but if I do it like this, the 'Ăź' disappears from the input.
But I want to use it in the code.