Can non graphic character by used in python and how
Answers
Answered by
3
" Yes. The statement is correct. Non-graphic characters can be used in Python. Non-graphic characters are those characters which can’t be entered through the keyboard or printed on the screen.
Suppose, you want to execute a bell sound via the output stream used by python. Or in other words, you want to print a bell sound. As we all know, sound can’t be printed on the screen. So, to produce a bell sound, which is a non-graphic character, a respective escape sequence (which is “\a” in this case) is used."
Similar questions