Python program to print if a given character is Uppercase, Lowercase, Digit or Special Character

preview_player
Показать описание
Music Credits:
Music: Joy
Musician: ASHUTOSH
Рекомендации по теме
Комментарии
Автор

I am so sry I am asking this very illogical doubt but in 4th line you told if character is greater than or equal to A and less than or equal to Z, does python go through all the dictionary of alphabets? I don't get how the logic should work in strings actually, and also same asking for digits, what if it was if ch>='A' and ch<='z', z in small?

windows
Автор

you are in which branch? and how much percentile you got in jee mains??

sahilrao
Автор

In 3rd line before input. Why we don't write int(input(''Enter a single character :-")

Renukarjee
Автор

In 8th line you write digit under quotes which python will treat as string. Please pin this

sameerkhadka