Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

examples of function in python

print("
") #This adds a new line below

print(phrase.lower()) #Turns all alphabets to lowercase

print(phrase.upper()) #Turns all alphabets to uppercase

print(phrase.isupper())
#Checks if all alphabets are uppercase, same for lowercase

print(phrase.upper().isupper())
#We can use these functiones one after another too! 
#This comes in handy a lot
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #examples #function #python
ADD COMMENT
Topic
Name
9+2 =