Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

isupper() in python

#!/usr/bin/python

str = "THIS IS STRING EXAMPLE....WOW!!!"; 
print str.isupper()
#Prints True
str = "THIS is string example....wow!!!";
print str.isupper()
#prints False
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
8+1 =