Write an if statement that displays “Digit” if the string referenced by the variable
ch contains a numeric digit. Otherwise, it should display “No digit.”
What is the output of the following code?
ch = 'a'
ch2 = ch.upper()
print(ch, ch2)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here