ASCII() method in Python Built in Function
ascii method in built function returns the readable value as output.It replaces non ascii values with escape characters.
Syntax
ascii(object)
Parameters:
Ascii method takes objects like string, tuple, lists etc.
Example-1:
x = ascii("My name is Annà")
print(x)
Output:

Example-2:
text =("My name is Annà", 8)
print(ascii(text))
Output:
