Operador de índice en Python sin entrada

#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())
    
YEASIN ARAFAT