What is the keyword for special charters in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the keyword for special charters in python?

16th Jan 2021, 5:16 AM
Gajendra Jangid
Gajendra Jangid - avatar
3 Answers
+ 3
Metacharacters I guess?
16th Jan 2021, 5:18 AM
Calvin Thomas
Calvin Thomas - avatar
+ 2
# Try to run this and it will print all Python keywords. import keyword for word in keyword.kwlist: print(word) If this is not what you're referring to, then What do you mean? Can you give some examples? Please clarify your question. Thanks!
16th Jan 2021, 5:18 AM
noteve
noteve - avatar
+ 2
This gives some common punctuation characters: from string import punctuation print(punctuation)
16th Jan 2021, 8:30 AM
Lisa
Lisa - avatar