Computer Science, asked by utsavkashyap028, 5 months ago

WAP in Python to display the inputed alphabet is in Upper case or Lower case​

Answers

Answered by allysia
1

Answer:

It goes like:

\\\tt word= str(inpu t ( "Enter \ a \ character\ " ))\\\tt  chk=word.isupper()\\\tt if\  chk==True: \\\tt {\qquad print("It's \ uppercase.)} \\\tt else: \\\tt {\qquad print("It's \ lowercase.") }

Answered by jai696
2

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

if (a := input("alphabet: ").isupper()):

print("Upper case")

else:

print("Lower case")

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

Similar questions