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?...


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)



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here