Computer Science
Choose the correct function to get the character from ASCII number.
- ascii(number)
- char(number)
- chr(number)
- all of these
Python String Manipulation
21 Likes
Answer
chr(number)
Answered By
3 Likes
Related Questions
Select the correct output of the following String operations.
str1 = 'Waha' print(str1[:3] + 'Bhyi' + str1[-3:])
Select the correct output of the following String operations.
str = "my name is Anu John" print(str.capitalize())
s = ' '(single space). Then s.isalnum() will return.
Which of the following functions removes all leading and trailing spaces from a string?