Оператор индекса в Python без ввода

#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