fork download
  1. 리스트 = ['dog', 'cat', 'parrot']
  2. for 변수 in 리스트:
  3. 첫글자 = 변수[0] # 1)
  4. 대문자 = 첫글자.upper() # 2)
  5. print(대문자 + 변수[1:]) # 3)
Success #stdin #stdout 0.07s 14068KB
stdin
Standard input is empty
stdout
Dog
Cat
Parrot