+ 8
How to add arithmetic symbols like +,-,Ă,Ă·,% in the output(print) of the python program like as in c++ '/Ă·' A null character ???
I'm new to it I might require some help, Thank you for all who respond to this question.đ
5 Answers
+ 4
Try flipping the output stream to utf_16. Works for me here.
https://code.sololearn.com/csTae6tX7D4l/?ref=app
+ 4
I found myself another solution thank you for your advice
+ 3
Yes I have tried with double quotes in the print() of python buy it throws an error
+ 2
To represent the character you can use Universal Character Names (UCNs). The character 'Ń' has the Unicode value U+0444 and so in C++ you could write it '\u0444' or '\U00000444'. The same goes for addition, subtraction... chars.
+ 1
pretty sure "%" will work because it is enclosed by quotation marks