Skip to content

Instantly share code, notes, and snippets.

a, b, c = 10, 100, "hello"
print(a)
print(b)
print(c)
d = e = f = 40
print(d)
print(e)
print(f)
def cyc(a, b, lim):
c = a + b
if c > lim:
return b
return cyc(b, c, lim)
limin = input()
lim = 0
try:
lim = int(limin)
input1 = input()
input2 = input()
try:
x = int(input1)
y = int(input2)
except ValueError as e:
print('整数を入力してください')
exit()