백준
-
조건문백준 2022. 5. 18. 20:54
#1 a, b = map(int, input().split()) if a > b: print(">") elif a 90 or score ==90: print("A") elif score >80 or score ==80: print("B") elif score >70 or score ==70: print("C") elif score >60 or score ==60: print("D") else: print("F") #3 year = int(input()) if year % 4 == 0: if year % 100 != 0 or year % 400 == 0: print(1) else: print(0) else: print(0) #4 x = int(input()) y = int(input()) if x > 0 ..
-
입출력과 사칙연산백준 2022. 5. 18. 17:43
#1 print("Hello World!") #2 print("강한친구 대한육군\n강한친구 대한육군") #3 print("\\ /\\\n\ ) ( \')\n\ ( / )\n\ \\(__)|") \ /\ ) ( ') ( / ) \(__)| #4 print(" ,r\'\"7\n\ r`-_ ,\' ,/\n\ \\. \". L_r\'\n\ `~\\/\n\ |\n\ |") ,r'"7 r`-_ ,' ,/ \. ". L_r' `~\/ | | #5 a, b = map(int, input().split()) print(a+b) #6 a, b = map(int, input().split()) print(a-b) #7 a, b = map(int, input().split()) print(a*b) #8 a, b = map(i..