1Call str. islower() with str as a string to determine if str is all lowercase. Call str. isupper() to determine if str is all uppercase.
1string = 'iAmABoy'
2
3for letter in string:
4 print(letter)
5 if letter.isupper():
6 print('yes')
7 break
8
9o/p:-
10 i
11 A
12 yes
13
14happy coding ^^