127. String Islower and Isnumeric Method in Python with Example Code || Python String Methods-9

Published: 02 October 2022
on channel: Ram Case
6
0

Code:
s='this is good'
print(s.islower())

s='th!s is also g00d'
print(s.islower())

s='this is Not good'
print(s.islower())

s='this is good'
if s.islower()== True:
print("Does not contain any uppercase letter.")
else:
print("Contains uppercase letter.")

s='this is Good'
if s.islower()== True:
print("Does not contain any uppercase letter.")
else:
print("Contains uppercase letter.")
#isnumeric()

s='1234324'
print(s.isnumeric())
s='\u00b23455'
print(s.isnumeric())
s='\u00BD'
print(s.isnumeric())
s='python0909'
print(s.isnumeric())

s='\u00BD'
if s.isnumeric()==True:
print("All characters are numeric.")
else:
("All characters are not numeric")

str='hello009'
print(str.isnumeric())
str='10123435'
print(str.isnumeric())


On this page of the site you can watch the video online 127. String Islower and Isnumeric Method in Python with Example Code || Python String Methods-9 with a duration of hours minute second in good quality, which was uploaded by the user Ram Case 02 October 2022, share the link with friends and acquaintances, this video has already been watched 6 times on youtube and it was liked by 0 viewers. Enjoy your viewing!