Computer Science, asked by 01011, 3 months ago


b) What will be the output of the following Python code?
print('ab12'.isalnum())​

Answers

Answered by Anonymous
1

Answer:

Answer: true

Explanation: The string has only letters and digits.

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{ANSWER}}\mid}}

True

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

The isalnum() method returns True if all characters in the string are alphanumeric (either alphabets or numbers). If not, it returns False.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions