What is the output of the following code ?
>>> "asd".isalpha(), "".isalpha(), "asd123".isalpha()
What is the output of the following code ?
>>> "asd".isascii(), "".isascii(), "asd123".isascii(), "ß".isascii()
What is the output of the following code ?
>>> "123".isdecimal(), "asd".isdecimal(), "".isdecimal(), "asd123".isdecimal(), "123.13".isdecimal()
What is the output of the following code ?
>>> "½¼".isnumeric(), "½¼".isdigit(), "½¼".isdecimal()
What is the output of the following code ?
>>> "12a".islower(), "12aA".islower()
What is the output of the following code ?
>>> "This Is Title".istitle(), "This'Is1Title".istitle()
What is the output of the following code ?
>>> s = "This is Python and it is easy"
>>> s.find('is'), s.rfind('is')
What is the output of the following code ?
>>> 'ismississippi'.lstrip('ipz'), 'ismississippi'.rstrip('ipz')
What is the output of the following code ?
>>> s = "This is Python and it is easy"
>>> s.partition("py")