Language/Python

코드업[CodeUp] 파이썬(Python) 기초 100제(#6021~)

공부좀하시졍 2021. 10. 1. 15:38

#6021

s = input()
i = 0
while i < len(s):
    print(s[i])
    i = i+1

#6022

s = input()
print(s[0:2] + "")
print(s[2:4] + "")
print(s[4:6])

#6023

h,m,s = input().split(':')
print(m)

#6024

w1,w2 = input().split()
s = w1+w2
print(s)

#6025

a, b = input().split()
sum = int(a) + int(b)
print(sum)