Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

index operator in python without input

#index operator in python without input method
name = input("What is your name?: ")
if (name[0].islower()):
    print(name.capitalize())
#without input method
name = "arafat jim"
if (name[0].islower()):
    print(name.capitalize())
    
 
PREVIOUS NEXT
Tagged: #index #operator #python #input
ADD COMMENT
Topic
Name
7+4 =