Computer Science
Choose the correct function to get the ASCII code of a character.
- char('char')
- ord('char')
- ascii('char')
- All of these
Related Questions
Which of the following functions will always return a tuple of 3 elements?
What is the output of the following code?
str1 = "Mission 999" str2 = "999" print(str1.isdigit(),str2.isdigit())
Which method should I use to convert String "Python programming is fun" to "Python Programming Is Fun" ?
Guess the correct output of the following String operations.
str1 = 'Wah' print(str1*2)