๋ฌธ์ ๋งํฌ : https://codeup.kr/problemsetsol.php?psid=23
๋ฌธ์ ์ง / ๊ธฐ์ด 100์
codeup.kr
*1010๋ฒ
x = int(input())
print(x)
*1011๋ฒ
x = str(input())
print(x)
*1012๋ฒ
x = float(input())
print("%f"%x)
*1013๋ฒ
a, b = map(int,input().split())
print(a,b)
*1014๋ฒ
a, b = map(str,input().split())
print(b,a)
*1015๋ฒ
a = float(input())
print("%0.2f"%a)
์์์ ๋์งธ์๋ฆฌ์์ ๋ฐ์ฌ๋ฆผํ๋ ค๋ฉด %0.2f ๋๋ %.2f ๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค.
*1016๋ฒ
a = input()
print(a,a,a)
*1017๋ฒ
a=input()
print(a,a,a)
*1018๋ฒ
hour=str(input())
print(hour)
*1019๋ฒ
y,m,d = map(str,input().split('.'))
if len(m)<2 : m = "0"+m
if len(d)<2: d = "0"+d
if len(y) == 3: y = "0"+y
elif len(y) == 2: y = "00"+y
elif len(y)==1: y = "000"+y
print("%s.%s.%s"%(y,m,d))
*1020๋ฒ
a,b = map(str,input().split('-'))
print("%s%s"%(a,b))
*1021๋ฒ
a = input()
print(a)
*1022๋ฒ
a = input()
print(a)
*1023๋ฒ
i,f = map(str,input().split("."))
print(i,f,sep="\n")
*1024๋ฒ
s = list(input())
for i in range(len(s)):
print("'%s'"%s[i])
*1025๋ฒ
num = list(input())
for i in range(5):
print('[',num[i]+"0"*(4-i),']',sep="")
*1026๋ฒ
h,m,s = map(str,input().split(':'))
if m == "00":
m = "0"
print(m)
*1026๋ฒ
y,m,d = map(str,input().split('.'))
while(len(y) <4) :
y = "0"+y
if len(m) == 1 : m= "0"+m
if len(d) == 1 : d= "0"+d
print("%s-%s-%s"%(d,m,y))
*C++/CPPํ์ด๋ code up ์นดํ
๊ณ ๋ฆฌ์ ์์ต๋๋ค.