s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s020291417
p02400
u597483031
1528473134
Python
Python3
py
Runtime Error
0
0
80
r=float(input()) x=math.pi print("{:.7f}".format(r*r*x),"{:.7f}".format(2*r*x))
Traceback (most recent call last): File "/tmp/tmpygdybfhi/tmp4tbjtmiq.py", line 1, in <module> r=float(input()) ^^^^^^^ EOFError: EOF when reading a line
s329905987
p02400
u597483031
1528473372
Python
Python3
py
Runtime Error
0
0
91
from math import pi r=int(input()) print("{:.7f}".format(pi*r*r),"{:.7f}".format(2*r*pi))
Traceback (most recent call last): File "/tmp/tmpa3anmny2/tmpqmcr5hj_.py", line 3, in <module> r=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s493759277
p02400
u920278525
1529070159
Python
Python3
py
Runtime Error
0
0
117
Pi = 3.14159265 R = int(input()) M = 2 * R * Pi E = R ** 2 * Pi print("{:.10}".format(M)) print("{:.10}".format(E))
Traceback (most recent call last): File "/tmp/tmp36u1dbkb/tmpnukucopl.py", line 2, in <module> R = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s605190786
p02400
u920278525
1529070242
Python
Python3
py
Runtime Error
0
0
142
Pi = 3.14159265 R = int(input()) M = 2 * R * Pi E = R ** 2 * Pi """ print("{:.10}".format(M)) print("{:.10}".format(E)) """ print(M) print(E)
Traceback (most recent call last): File "/tmp/tmpbbr72lw6/tmpjnwcs8ba.py", line 2, in <module> R = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s680980579
p02400
u920278525
1529070255
Python
Python3
py
Runtime Error
0
0
142
Pi = 3.14159265 R = int(input()) M = 2 * R * Pi E = R ** 2 * Pi """ print("{:.10}".format(M)) print("{:.10}".format(E)) """ print(M) print(E)
Traceback (most recent call last): File "/tmp/tmp3msuf5hd/tmpsxrx7h3p.py", line 2, in <module> R = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s068825145
p02400
u922112509
1529117015
Python
Python3
py
Runtime Error
0
0
155
# Circle # Import math.py from math import pi radius = int(input()) r = radius area = r * r * pi circumference = 2 * r * pi print(area, circumference)
Traceback (most recent call last): File "/tmp/tmplnnwu52x/tmpsrdj6j8o.py", line 6, in <module> radius = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s162549026
p02400
u922112509
1529117038
Python
Python3
py
Runtime Error
0
0
155
# Circle # Import math.py from math import pi radius = int(input()) r = radius area = r * r * pi circumference = 2 * r * pi print(area, circumference)
Traceback (most recent call last): File "/tmp/tmp1xkgkh5c/tmpnocpszcc.py", line 6, in <module> radius = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s540163512
p02400
u922112509
1529117042
Python
Python3
py
Runtime Error
0
0
155
# Circle # Import math.py from math import pi radius = int(input()) r = radius area = r * r * pi circumference = 2 * r * pi print(area, circumference)
Traceback (most recent call last): File "/tmp/tmpqb_aj1r_/tmpympgh7tj.py", line 6, in <module> radius = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s680756884
p02400
u922112509
1529117077
Python
Python3
py
Runtime Error
0
0
172
# Circle # Import math.py from math import pi radius = int(input()) r = radius area = r * r * pi circumference = 2 * r * pi print(area, end = " ") print(circumference)
Traceback (most recent call last): File "/tmp/tmpjsycy1cq/tmpp8z5sjhl.py", line 6, in <module> radius = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s289541938
p02400
u568446716
1529134179
Python
Python3
py
Runtime Error
0
0
125
import math r = int(input()) area = math.pi * r * r circle = 2 * math.pi * r print("{:.8f} {:.8f}".format(area, circle))
Traceback (most recent call last): File "/tmp/tmpk4gi6f5l/tmp7j6yar39.py", line 3, in <module> r = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s677839028
p02400
u766693979
1529846997
Python
Python3
py
Runtime Error
0
0
82
r = input() r = int( r ) print( 3.141592653589 * r ** 2, 2 * 3.141592653589 * r)
Traceback (most recent call last): File "/tmp/tmp_63k6des/tmpggp6br6v.py", line 1, in <module> r = input() ^^^^^^^ EOFError: EOF when reading a line
s649466864
p02400
u726978687
1529851616
Python
Python3
py
Runtime Error
0
0
288
import math def solve(line): r=line[0] area = round((r*r*math.pi),6) circumference = round((2*r*math.pi),6) print('{0} {1}'.format(area,circumference)) def answer(): line = list(map(int,input().split())) solve(line) if __name__ =='__main__': answer()
Traceback (most recent call last): File "/tmp/tmp9k999vsa/tmpzw9t0w4v.py", line 16, in <module> answer() File "/tmp/tmp9k999vsa/tmpzw9t0w4v.py", line 12, in answer line = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s632371969
p02400
u123669391
1529985015
Python
Python3
py
Runtime Error
0
0
87
r = int(input()) pi = 3.14159265358979 print("{:.6f} {:.6f}".format(r**2*pi, 2*r*pi))
Traceback (most recent call last): File "/tmp/tmpc4hy0nv1/tmpjx5w5dee.py", line 1, in <module> r = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s551992216
p02400
u123669391
1529985037
Python
Python3
py
Runtime Error
0
0
87
r = int(input()) pi = 3.14159265358979 print("{:.6f} {:.6f}".format(r**2*pi, 2*r*pi))
Traceback (most recent call last): File "/tmp/tmph82334wc/tmp3ff_e161.py", line 1, in <module> r = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s949458683
p02400
u413456759
1366465762
Python
Python
py
Runtime Error
0
0
183
#!/usr/bin/env python # coding: utf-8 import math def main(): r = int(raw_input()) print round(math.pi * (r ** 2), 5), round(math.pi * 2 * r, 5) if __name__ == '__main__': main()
File "/tmp/tmpsy5spwao/tmpl6ecgnx5.py", line 7 print round(math.pi * (r ** 2), 5), round(math.pi * 2 * r, 5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s093552518
p02400
u351182591
1375200444
Python
Python
py
Runtime Error
0
0
100
import math r = int(raw_input()) a = round(math.pi*r**2,6) l = round(math.pi*r*2,6) print a, print l
File "/tmp/tmp28yybwv_/tmpjwva2gy2.py", line 5 print a, ^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s547483788
p02400
u140201022
1381730298
Python
Python
py
Runtime Error
0
0
64
o = int(raw_input()) print o*o*3.141592653589,o*2*3.141592653589
File "/tmp/tmppsyz9_dz/tmpsdt8udn9.py", line 2 print o*o*3.141592653589,o*2*3.141592653589 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s140042334
p02400
u063179562
1390053889
Python
Python
py
Runtime Error
0
0
62
import math a = int(raw_input()) print a*2*math.pi,a*a*math.pi
File "/tmp/tmpod7cvs68/tmp4rt4b7cx.py", line 3 print a*2*math.pi,a*a*math.pi ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s081867011
p02400
u063179562
1390053897
Python
Python
py
Runtime Error
0
0
62
import math a = int(raw_input()) print a*2*math.pi,a*a*math.pi
File "/tmp/tmpl6y4nyzg/tmpuik6j9sn.py", line 3 print a*2*math.pi,a*a*math.pi ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s866849141
p02400
u633068244
1393318569
Python
Python
py
Runtime Error
0
0
76
a = map(int, raw_input().spli()) Pi = 3.141592658979 print a**2*Pi, 2*a*Pi
File "/tmp/tmpixrecwym/tmpd9o_jlww.py", line 5 print a**2*Pi, 2*a*Pi ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s298229197
p02400
u633068244
1393318609
Python
Python
py
Runtime Error
0
0
78
a = map(float, raw_input().spli()) Pi = 3.141592658979 print a**2*Pi, 2*a*Pi
File "/tmp/tmpsd5nzbqw/tmpq19682uy.py", line 5 print a**2*Pi, 2*a*Pi ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s900154925
p02400
u633068244
1393318639
Python
Python
py
Runtime Error
0
0
77
a = map(float, raw_input().spli()) Pi = 3.141592658979 print a*a*Pi, 2*a*Pi
File "/tmp/tmpff96ebro/tmpkps7p1tg.py", line 5 print a*a*Pi, 2*a*Pi ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s126801117
p02400
u633068244
1393318651
Python
Python
py
Runtime Error
0
0
78
a = map(float, raw_input().split()) Pi = 3.141592658979 print a*a*Pi, 2*a*Pi
File "/tmp/tmpm0jbmdhv/tmp3nq_9i17.py", line 5 print a*a*Pi, 2*a*Pi ^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s252418662
p02400
u633068244
1393318686
Python
Python
py
Runtime Error
0
0
91
a = map(float, raw_input().split()) Pi = 3.141592658979 print("%f %f" % (a*a*Pi, 2*a*Pi))
Traceback (most recent call last): File "/tmp/tmpru6mns0w/tmpcm8d829i.py", line 1, in <module> a = map(float, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s848674603
p02400
u633068244
1393318700
Python
Python
py
Runtime Error
0
0
91
a = map(float, raw_input().split()) Pi = 3.141592658979 print("%f %f" % (a*a*Pi, 2*a*Pi))
Traceback (most recent call last): File "/tmp/tmpdhsuud35/tmpn8ell9az.py", line 1, in <module> a = map(float, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s637470491
p02400
u633068244
1393318726
Python
Python
py
Runtime Error
0
0
91
a = map(float, raw_input().split()) Pi = 3.141592658979 print("%f %f" % (a*a*Pi, 2*a*Pi))
Traceback (most recent call last): File "/tmp/tmpdwitoln_/tmpaik8hs_v.py", line 1, in <module> a = map(float, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s358508896
p02400
u633068244
1393318849
Python
Python
py
Runtime Error
0
0
91
a = map(float, raw_input().split()) Pi = 3.141592658979 print("%f %f" % (a*a*Pi, 2*a*Pi))
Traceback (most recent call last): File "/tmp/tmp0js403m8/tmpvetu31zb.py", line 1, in <module> a = map(float, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s486900449
p02400
u633068244
1393318864
Python
Python
py
Runtime Error
0
0
98
a = map(float, raw_input().split()) Pi = float(3.141592658979) print("%f %f" % (a*a*Pi, 2*a*Pi))
Traceback (most recent call last): File "/tmp/tmpodfts1h3/tmprrzfqueo.py", line 1, in <module> a = map(float, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s736039442
p02400
u193025715
1394677948
Python
Python
py
Runtime Error
0
0
138
#!/usr/bin/python import math r = int(raw_input()) area = r * r * math.pi length = 2 * r * math.pi print str(area) + " " + str(length)
File "/tmp/tmppt6e57_g/tmpsb71ejs1.py", line 10 print str(area) + " " + str(length) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s761040184
p02400
u193025715
1394677965
Python
Python
py
Runtime Error
0
0
161
#!/usr/bin/python import math import sys r = int(raw_input()) area = r * r * math.pi length = 2 * r * math.pi print str(area) + " " + str(length) sys.exit()
File "/tmp/tmptrpo9ebz/tmpwxra6_1b.py", line 11 print str(area) + " " + str(length) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s240732272
p02400
u193025715
1394677994
Python
Python
py
Runtime Error
0
0
161
#!/usr/bin/python import math import sys r = int(raw_input()) area = r * r * math.pi length = 2 * r * math.pi print str(area) + " " + str(length) sys.exit()
File "/tmp/tmp1qch8mej/tmp5ldcqh7b.py", line 11 print str(area) + " " + str(length) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s513159915
p02400
u193025715
1394678073
Python
Python
py
Runtime Error
0
0
168
#!/usr/bin/python import math import sys r = int(raw_input()) area = r * r * math.pi length = 2 * r * math.pi print str(area) + " " + str(length) + "\n" sys.exit()
File "/tmp/tmp1a37uhm3/tmpfgv2f6bu.py", line 11 print str(area) + " " + str(length) + "\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s967119660
p02400
u193025715
1394678083
Python
Python
py
Runtime Error
0
0
168
#!/usr/bin/python import math import sys r = int(raw_input()) area = r * r * math.pi length = 2 * r * math.pi print str(area) + " " + str(length) + "\n" sys.exit()
File "/tmp/tmpbhiim9uy/tmpzgo1djue.py", line 11 print str(area) + " " + str(length) + "\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s754012643
p02400
u193025715
1394678154
Python
Python
py
Runtime Error
0
0
1000
#!/usr/bin/python import math import sys pi =3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450 284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610...
File "/tmp/tmp620mtps6/tmp9dajnjgv.py", line 18 print str(area) + " " + str(length) + "\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s742898377
p02400
u193025715
1394678164
Python
Python
py
Runtime Error
0
0
178
#!/usr/bin/python import math import sys pi =3.141592653589 r = int(raw_input()) area = r * r * pi length = 2 * r * pi print str(area) + " " + str(length) + "\n" sys.exit()
File "/tmp/tmpinhj2fh4/tmpwh6hfi8x.py", line 13 print str(area) + " " + str(length) + "\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s955672735
p02400
u193025715
1394678235
Python
Python
py
Runtime Error
0
0
166
#!/usr/bin/python import sys pi =3.141592653589 r = int(raw_input()) area = r * r * pi length = 2 * r * pi print str(area) + " " + str(length) + "\n" sys.exit()
File "/tmp/tmp77cg66s0/tmpp0ltz2wr.py", line 12 print str(area) + " " + str(length) + "\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s432539096
p02400
u193025715
1394678250
Python
Python
py
Runtime Error
0
0
147
import sys pi =3.141592653589 r = int(raw_input()) area = r * r * pi length = 2 * r * pi print str(area) + " " + str(length) + "\n" sys.exit()
File "/tmp/tmpsbxtxi40/tmpxx0k6pif.py", line 10 print str(area) + " " + str(length) + "\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s166704383
p02400
u131984977
1403075325
Python
Python3
py
Runtime Error
0
0
157
import sys import math r = int(sys.stdin.readline()) area = r ** 2 * math.pi circumference = r * 2 * math.pi print(round(area, 5), round(circumference, 5))
Traceback (most recent call last): File "/tmp/tmpk32mah4a/tmp405ufsbn.py", line 4, in <module> r = int(sys.stdin.readline()) ^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s148725933
p02401
u917722865
1530789939
Python
Python3
py
Runtime Error
0
0
487
#include <stdio.h> #include <iostream> using namespace std; int main() { int a, b; int result[1001]; char op; int i = 0; while(scanf("%d %c %d", &a, &op, &b), op!='?') { switch(op) { case '+': result[i++] = a + b; break; case '-': result[i++] = a - b; break; case '*': result[i++...
File "/tmp/tmp5unaful6/tmpwj7on774.py", line 4 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s077241757
p02401
u525366883
1535159735
Python
Python
py
Runtime Error
0
0
213
while 1: a, b, c = raw_input().split() if b == "?": break a = int(a) c = int(c) if b == "+": print a+b elif b == "*": print a*b elif b == "/" print a//b
File "/tmp/tmpja12vihw/tmpd2usip64.py", line 8 print a+b ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s029237446
p02401
u525366883
1535159754
Python
Python
py
Runtime Error
0
0
213
while 1: a, b, c = raw_input().split() if b == "?": break a = int(a) c = int(c) if b == "+": print a+c elif b == "*": print a*c elif b == "/" print a//c
File "/tmp/tmpnchhgfjd/tmp09lxh4d_.py", line 8 print a+c ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s051931706
p02401
u277375424
1540216038
Python
Python3
py
Runtime Error
0
0
326
while True: table = map(int,input().split()) a = int(table[0]) op = table[1] b = int(table[2]) if op == "?": break if op == "+": print("%d" %(a+b)) elif op == "-": print("%d"%(a-b)) elif op == "*": print("%d"%(a*b)) else: print("%d"%(...
Traceback (most recent call last): File "/tmp/tmpiw7ea3mg/tmpep7c8g4e.py", line 2, in <module> table = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s577655063
p02401
u281808376
1540297404
Python
Python3
py
Runtime Error
0
0
292
import math while True: s=input().split() if s[1]==?: break if s[1]==+: print(int(s[0])+int(s[2])) if s[1]==-: print(int(s[0])-int(s[2])) if s[1]==*: print(int(s[0])*int(s[2])) if s[1]==/: print(math.floor(int(s[0])/int(s[2])))
File "/tmp/tmp9iyyxdbe/tmp14ym31wa.py", line 4 if s[1]==?: ^ SyntaxError: invalid syntax
s290969675
p02401
u281808376
1540297439
Python
Python3
py
Runtime Error
0
0
300
import math while True: s=input().split() if s[1]==?: break elif s[1]==+: print(int(s[0])+int(s[2])) elif s[1]==-: print(int(s[0])-int(s[2])) elif s[1]==*: print(int(s[0])*int(s[2])) elif s[1]==/: print(math.floor(int(s[0])/int(s[2])))
File "/tmp/tmptk97zjpg/tmpvmna39kx.py", line 4 if s[1]==?: ^ SyntaxError: invalid syntax
s571725736
p02401
u281808376
1540297521
Python
Python3
py
Runtime Error
0
0
300
import math while True: s=input().split() if s[0]==0: break elif s[1]==+: print(int(s[0])+int(s[2])) elif s[1]==-: print(int(s[0])-int(s[2])) elif s[1]==*: print(int(s[0])*int(s[2])) elif s[1]==/: print(math.floor(int(s[0])/int(s[2])))
File "/tmp/tmprosiulce/tmpyo8su3hi.py", line 6 elif s[1]==+: ^ SyntaxError: invalid syntax
s169881814
p02401
u281808376
1540297546
Python
Python3
py
Runtime Error
0
0
310
import math while True: s=input().split() if s[0]=="?": break elif s[1]=="+": print(int(s[0])+int(s[2])) elif s[1]=="-": print(int(s[0])-int(s[2])) elif s[1]=="*": print(int(s[0])*int(s[2])) elif s[1]=="/": print(math.floor(int(s[0])/int(s[2])))
Traceback (most recent call last): File "/tmp/tmpiuo_51y9/tmpc7v1ff1p.py", line 3, in <module> s=input().split() ^^^^^^^ EOFError: EOF when reading a line
s133065208
p02401
u075006557
1540457427
Python
Python3
py
Runtime Error
0
0
255
while True: a = int(input()) c = input() b = int(input()) if(c == '+'): print(a + b) elif(c == '-'): print(a - b) elif(c == '*'): print(a * b) elif(c == '/') print(a / b) else: break
File "/tmp/tmp92gqvuk7/tmpdsta1_5_.py", line 11 elif(c == '/') ^ SyntaxError: expected ':'
s183466740
p02401
u075006557
1540457551
Python
Python3
py
Runtime Error
0
0
260
while True: a = int(input()) c = str(input()) b = int(input()) if(c == '+'): print(a + b) elif(c == '-'): print(a - b) elif(c == '*'): print(a * b) elif(c == '/') print(a / b) else: break
File "/tmp/tmpztzoey7j/tmpzi5g7na5.py", line 11 elif(c == '/') ^ SyntaxError: expected ':'
s478371105
p02401
u075006557
1540457708
Python
Python3
py
Runtime Error
0
0
267
while True: a, b, c = map(str, input().split()) a = int(a) c = int(c) if(c == '+'): print(a + b) elif(c == '-'): print(a - b) elif(c == '*'): print(a * b) elif(c == '/') print(a / b) else: break
File "/tmp/tmpwaxt3ulf/tmpxte_72lk.py", line 11 elif(c == '/') ^ SyntaxError: expected ':'
s745271696
p02401
u901205536
1540814776
Python
Python3
py
Runtime Error
0
0
254
while True: a, op, b = map(int, inptut().split(" ")) if a == 0 and b == 0: break if op == "+": c = a + b elif op == "-": c = a - b elif op == "*": c = a + b else c = a / b print(c)
File "/tmp/tmpi_vv0ps3/tmpnz357wnu.py", line 12 else ^ SyntaxError: expected ':'
s029619273
p02401
u901205536
1540815058
Python
Python3
py
Runtime Error
0
0
254
while True: a, op, b = map(int, inptut().split(" ")) if a == 0 and b == 0: break if op == "+": c = a + b elif op == "-": c = a - b elif op == "*": c = a * b else c = a / b print(c)
File "/tmp/tmpo6wk1ms9/tmpvl1twvm7.py", line 12 else ^ SyntaxError: expected ':'
s984127198
p02401
u901205536
1540815076
Python
Python3
py
Runtime Error
0
0
253
while True: a, op, b = map(int, input().split(" ")) if a == 0 and b == 0: break if op == "+": c = a + b elif op == "-": c = a - b elif op == "*": c = a * b else c = a / b print(c)
File "/tmp/tmpcmnwkac6/tmpklyuys1i.py", line 12 else ^ SyntaxError: expected ':'
s926310738
p02401
u901205536
1540815109
Python
Python3
py
Runtime Error
0
0
254
while True: a, op, b = map(int, input().split(" ")) if a == 0 and b == 0: break if op == "+": c = a + b elif op == "-": c = a - b elif op == "*": c = a * b else: c = a / b print(c)
Traceback (most recent call last): File "/tmp/tmp46679jis/tmptiknoliz.py", line 2, in <module> a, op, b = map(int, input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
s740971831
p02401
u901205536
1540815153
Python
Python3
py
Runtime Error
0
0
275
while True: a, op, b = map(str, input().split(" ")) if a == 0 and b == 0: break a, b = int(a), int(b) if op == "+": c = a + b elif op == "-": c = a - b elif op == "*": c = a * b else: c = a / b print(c)
Traceback (most recent call last): File "/tmp/tmp4_w6khpb/tmp_8f0483b.py", line 2, in <module> a, op, b = map(str, input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
s942365981
p02401
u260980560
1540907155
Python
Python3
py
Runtime Error
20
5572
99
S = [s.strip().replace("/","//") for s in open(0).readlines()][:-1] print(*map(eval, S), sep='\n')
s255448498
p02401
u513141069
1541061739
Python
Python3
py
Runtime Error
0
0
249
while True: a, op b = input().split() if op == "?": break elif op == "+": print(int(a) + int(b)) elif op == "-": print(int(a) - int(b)) elif op == "*": print(int(a) * int(b)) elif op == "/": print(int(a) // int(b))
File "/tmp/tmpabi13o3c/tmpxbddvnf6.py", line 2 a, op b = input().split() ^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s251413331
p02401
u596993252
1541061871
Python
Python3
py
Runtime Error
0
0
268
while(True): a=int(input()) op=char(input()) b=int(input()) if(op=='?'): break elif(op=='+'): print(a+b) elif(op=='-'): print(a-b) elif(op=='*'): print(a*b) elif(op=='/'): print(a//b)
Traceback (most recent call last): File "/tmp/tmpgm_k2d8o/tmplw3bjt8z.py", line 2, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s755131461
p02401
u596993252
1541061924
Python
Python3
py
Runtime Error
0
0
245
while(True): a,op,b=map(int,input().split()) if(op=='?'): break elif(op=='+'): print(a+b) elif(op=='-'): print(a-b) elif(op=='*'): print(a*b) elif(op=='/'): print(a//b)
Traceback (most recent call last): File "/tmp/tmpt9vtqpag/tmpeers3cuq.py", line 2, in <module> a,op,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s771941962
p02401
u587288800
1541061953
Python
Python3
py
Runtime Error
0
0
235
while True a, op b = input().split() if op == "?": break elif op == "+": print(int(a) + int(b)) elif op == "-": print(int(a) - int(b)) elif op == "*": print(int(a) * int(b)) elif op == "/": print(int(a) / int(b))
File "/tmp/tmperqvu_5l/tmppl0haf_4.py", line 1 while True ^ SyntaxError: expected ':'
s350528841
p02401
u587288800
1541061960
Python
Python3
py
Runtime Error
0
0
236
while True a, op b = input().split() if op == "?": break elif op == "+": print(int(a) + int(b)) elif op == "-": print(int(a) - int(b)) elif op == "*": print(int(a) * int(b)) elif op == "/": print(int(a) // int(b))
File "/tmp/tmpdi6drvcr/tmp6x4l8jfq.py", line 1 while True ^ SyntaxError: expected ':'
s576311543
p02401
u893058769
1541062034
Python
Python3
py
Runtime Error
0
0
201
while True: a,op,b=input().split() if(op==+) print(f"{a+b}") else if(op==-) print(f"{a-b}") else if(op==*) print(f"{a*b}") else if(op==/) print(f"{a//b}") else if(op==?) break
File "/tmp/tmpk95bk14o/tmp5int8459.py", line 3 if(op==+) print(f"{a+b}") ^ SyntaxError: invalid syntax
s780557332
p02401
u893058769
1541062049
Python
Python3
py
Runtime Error
0
0
203
while True: a,op,b=input().split() if(op=='+') print(f"{a+b}") else if(op==-) print(f"{a-b}") else if(op==*) print(f"{a*b}") else if(op==/) print(f"{a//b}") else if(op==?) break
File "/tmp/tmp0u14elna/tmpq5n2d1j7.py", line 3 if(op=='+') print(f"{a+b}") ^^^^^ SyntaxError: invalid syntax
s031895946
p02401
u109843748
1545484010
Python
Python3
py
Runtime Error
20
5628
171
import sys,math def solve(): while True: s = input() if s == "0 ? 0": break else: print(int(eval(s)//1)) solve()
Traceback (most recent call last): File "/tmp/tmp4q7fb3tz/tmp_j65lgxi.py", line 11, in <module> solve() File "/tmp/tmp4q7fb3tz/tmp_j65lgxi.py", line 5, in solve s = input() ^^^^^^^ EOFError: EOF when reading a line
s236625372
p02401
u962909487
1545839203
Python
Python3
py
Runtime Error
0
0
292
while True: table= input().split() a = table[0] op = table[1] b = table[-1] if op = '?': break if op = '+': print(a+b) elif op ='-': print(a-b) elif op ='*': print(a*b) else: print(a//b)
File "/tmp/tmpbzxolwnu/tmpa5do7hsm.py", line 8 if op = '?': ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s049157295
p02401
u962909487
1545839249
Python
Python3
py
Runtime Error
0
0
302
while True: table= input().split() a = int(table[0]) op = table[1] b = int(table[-1]) if op = '?': break if op = '+': print(a+b) elif op ='-': print(a-b) elif op ='*': print(a*b) else: print(a//b)
File "/tmp/tmpv0ym75oz/tmpa_imyccd.py", line 8 if op = '?': ^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s265435159
p02401
u062933726
1546060119
Python
Python3
py
Runtime Error
0
0
263
while True: table=input().split() a=int(table[0]) op=table[1] b=int(table[2]) if op=='?': break elif op=='+': print("%d" %(a+b)) elif op=='-': print("%d" %(a-b)) elif op=='*': print("%d" %(a*b)) elif op=='/': print("%d" %(a/b))
File "/tmp/tmp6_4938nf/tmpgnttvjy7.py", line 8 break ^^^^^ SyntaxError: 'break' outside loop
s687866288
p02401
u634490486
1546081078
Python
Python3
py
Runtime Error
0
0
330
from sys import stdin while True: a, op, b = stdin.readline().rstrip().split() else if op == "+": print(int(a)+int(b)) else if op == "-": print(int(a)-int(b)) else if op == "*": print(int(a)*int(b)) else if op == "/": print(int(a)//int(b)) else: # op == "?" ...
File "/tmp/tmpi5rpbark/tmp4pkm5m8n.py", line 5 else if op == "+": ^^^^ SyntaxError: invalid syntax
s195568033
p02401
u634490486
1546081151
Python
Python3
py
Runtime Error
0
0
330
from sys import stdin while True: a, op, b = stdin.readline().rstrip().split() else if op == '+': print(int(a)+int(b)) else if op == '-': print(int(a)-int(b)) else if op == '*': print(int(a)*int(b)) else if op == '/': print(int(a)//int(b)) else: # op == '?' ...
File "/tmp/tmpgumgan7f/tmpg7g94bwc.py", line 5 else if op == '+': ^^^^ SyntaxError: invalid syntax
s014396327
p02401
u498462680
1546258704
Python
Python3
py
Runtime Error
0
0
314
a,op,b = [float(i) for i in input().split()] if op == "?": break else: if op == "+": ans = a + b elif op == "-": ans = a-b elif op == "*": ans = a * b else: rem = a%b if rem == 0: ans = a/b else: ans = int(a/b) print(ans)
File "/tmp/tmphquxn2up/tmpmrymhec1.py", line 3 break ^^^^^ SyntaxError: 'break' outside loop
s397285341
p02401
u498462680
1546258857
Python
Python3
py
Runtime Error
0
0
409
while True a,op,b = input().split() a = float(a) b = float(b) if op == "?": break else: if op == "+": ans = a + b elif op == "-": ans = a-b elif op == "*": ans = a * b else: rem = a%b if rem == 0: ...
File "/tmp/tmpaf581i2r/tmpn20c7kp8.py", line 1 while True ^ SyntaxError: expected ':'
s542937804
p02401
u733357255
1551509145
Python
Python3
py
Runtime Error
0
0
193
a,op,b = input().split() a,b = int(a),int(b) while True: if op == +: print(a+b) elif op == -: print(a-b) elif op == *: print(a*b) elif op == /: print(a/b) elif op == ?: break
File "/tmp/tmp30pgymmy/tmpof2f_fvi.py", line 6 if op == +: ^ SyntaxError: invalid syntax
s427956811
p02401
u733357255
1551509443
Python
Python3
py
Runtime Error
0
0
470
''' a,op,b = input().split() a,b = int(a),int(b) ''' ############################################################### #whileの中に入れないと同じデータセットでの計算をずっとし続ける# ############################################################### while True: a,op,b = input().split() a,b = int(a),int(b) if op == +: print(a+b) elif op == -:...
File "/tmp/tmp1_dunmwv/tmp_sgho7mz.py", line 15 if op == +: ^ SyntaxError: invalid syntax
s310182210
p02401
u733357255
1551509479
Python
Python3
py
Runtime Error
0
0
472
''' a,op,b = input().split() a,b = int(a),int(b) ''' ############################################################### #whileの中に入れないと同じデータセットでの計算をずっとし続ける# ############################################################### while True: a,op,b = input().split() a= int(a) b = int(b) if op == +: print(a+b) elif op == ...
File "/tmp/tmpsuu4sx6v/tmptf5080nz.py", line 16 if op == +: ^ SyntaxError: invalid syntax
s511821021
p02401
u175224634
1551539965
Python
Python3
py
Runtime Error
0
0
237
while True: a, op, b = input().split() # 3変数ともに文字列として読み込む a = int(a) # a を整数に変換 b = int(b) # b を整数に変換 if op == ?: break else: print(f'a op b')
File "/tmp/tmpx3i76egi/tmpk2ky4tlw.py", line 5 if op == ?: ^ SyntaxError: invalid syntax
s145615494
p02401
u638889288
1555899675
Python
Python3
py
Runtime Error
0
0
250
while True: a,op,b=map(istr,input().split()) a=int(a) b=int(b) if op=="?": break if op=="+": print(a+b) elif op=="-": print(a-b) elif op=="*": print(a*b) else: print(int(a/b))
Traceback (most recent call last): File "/tmp/tmprl7a0jxr/tmpmwhff92e.py", line 2, in <module> a,op,b=map(istr,input().split()) ^^^^ NameError: name 'istr' is not defined. Did you mean: 'str'?
s140085987
p02401
u605451279
1555937706
Python
Python3
py
Runtime Error
0
0
277
x = input().split() a = int(x[0]) op = x[1] b = int(x[2]) for i in I: if op == "+": A = a + b prnit(A) elif op == "-": B = a - b print(B) elif op == "*": C = a * b print(C) elif op == "/": D = a // b print(D) elif op == "?": break
Traceback (most recent call last): File "/tmp/tmpqzhp50p_/tmpbcc4lsr6.py", line 1, in <module> x = input().split() ^^^^^^^ EOFError: EOF when reading a line
s160991063
p02401
u093488647
1556002414
Python
Python3
py
Runtime Error
0
0
304
import math data = input().split() a = int(data[0]) b = data[1] c = int(data[2]) ans = [] while True: if b == '+': ans += a+c elif b == '-': ans += a-c elif b == '*': ans += a*c elif b == '/': ans += math.floor(a/c) elif b == '?': break else: break for output in ans: print(output)
Traceback (most recent call last): File "/tmp/tmpy6dimaag/tmpvf1axmra.py", line 3, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s505738635
p02401
u093488647
1556002440
Python
Python3
py
Runtime Error
0
0
308
import math data = input().split() a = int(data[0]) b = data[1] c = int(data[2]) ans = [] while True: if b == '+': ans += a+c elsif b == '-': ans += a-c elsif b == '*': ans += a*c elsif b == '/': ans += math.floor(a/c) elsif b == '?': break else: break for output in ans: print(output)
File "/tmp/tmp5rt48g7v/tmpk0npk_i1.py", line 12 elsif b == '-': ^ SyntaxError: invalid syntax
s975746894
p02401
u093488647
1556002508
Python
Python3
py
Runtime Error
0
0
304
import math data = input().split() a = int(data[0]) b = data[1] c = int(data[2]) ans = [] while True: if b == '+': ans += a+c elif b == '-': ans += a-c elif b == '*': ans += a*c elif b == '/': ans += math.floor(a/c) elif b == '?': break else: break for output in ans: print(output)
Traceback (most recent call last): File "/tmp/tmpw0ravac5/tmp88hqm56t.py", line 3, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s258416547
p02401
u252054808
1556175175
Python
Python3
py
Runtime Error
0
0
102
while(True){ f = input() s = f.split() if s[1] == '?': break print(eval(f)) }
File "/tmp/tmpbgz34o3n/tmp_7vtahme.py", line 2 f = input() ^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s213145609
p02401
u252054808
1556175659
Python
Python3
py
Runtime Error
0
0
177
while(True): f = input() s = f.split() if(s[1] == '?'): break if(s[1] = '/'): print((int)(s[0]) // (int)(s[1])) else: print(eval(f))
File "/tmp/tmpg_h2ge0a/tmp2lekkskl.py", line 6 if(s[1] = '/'): ^^^^ SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
s686090576
p02401
u252054808
1556175669
Python
Python3
py
Runtime Error
20
5560
178
while(True): f = input() s = f.split() if(s[1] == '?'): break if(s[1] == '/'): print((int)(s[0]) // (int)(s[1])) else: print(eval(f))
Traceback (most recent call last): File "/tmp/tmpb0wcm7ac/tmpk0dt94yt.py", line 2, in <module> f = input() ^^^^^^^ EOFError: EOF when reading a line
s656419896
p02401
u592815095
1556204379
Python
Python3
py
Runtime Error
20
5552
66
a=input() while a!="0 ? 0": print(int(eval(a))) a=input()
Traceback (most recent call last): File "/tmp/tmpptl92h9v/tmpu0pbuxr1.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s674311086
p02401
u592815095
1556204415
Python
Python3
py
Runtime Error
0
0
69
a=input() while a[2]!=""?"0 ? 0""": print(eval(a)) a=input()
File "/tmp/tmp0537pu1s/tmppvk9tu1o.py", line 2 while a[2]!=""?"0 ? 0""": ^ SyntaxError: invalid syntax
s160151908
p02401
u592815095
1556204453
Python
Python3
py
Runtime Error
20
5556
65
a=input() while a[2]!="?": print(int(eval(a))) a=input()
Traceback (most recent call last): File "/tmp/tmpd1jj6q4t/tmpn4wjcd0d.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s024319204
p02401
u592815095
1556204542
Python
Python3
py
Runtime Error
20
5552
87
a=input() while a[2]!="?": print(eval(a.strip().replace("/", "//"))) a=input()
Traceback (most recent call last): File "/tmp/tmp6983_0cp/tmpz2tf9ac4.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s601249198
p02401
u521569208
1556351497
Python
Python3
py
Runtime Error
20
5608
714
listA=[] listOP=[] listB=[] count=0 while True: a,op,b=input().split() listA.append(int(a)) listOP.append(op) listB.append(int(b)) if a=="0" and op=="?" and b=="0": del listA[len(listA)-1] del listOP[len(listOP)-1] del listB[len(listB)-1] break #入力パートここまで。計算出力パートここから ...
Traceback (most recent call last): File "/tmp/tmpy4xpi9f5/tmp1uvklkpl.py", line 6, in <module> a,op,b=input().split() ^^^^^^^ EOFError: EOF when reading a line
s321057966
p02401
u202430481
1556419474
Python
Python3
py
Runtime Error
0
0
543
i = 100 for i in range (i): a_list = [str(x) for x in input().split()] a = int(a_list[0]) b = int(a_list[2]) op = a_list[1] if op == '+': ab = a + b print(ab) i = i + 1 continue elif op == '-': ab = a - b print(ab) i = i + 1 continu...
Traceback (most recent call last): File "/tmp/tmpawd4t21p/tmp7i_k79wt.py", line 3, in <module> a_list = [str(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s725872742
p02401
u202430481
1556419500
Python
Python3
py
Runtime Error
0
0
543
i = 100 for i in range (i): a_list = [str(x) for x in input().split()] a = int(a_list[0]) b = int(a_list[2]) op = a_list[1] if op == '+': ab = a + b print(ab) i = i + 1 continue elif op == '-': ab = a - b print(ab) i = i + 1 continu...
Traceback (most recent call last): File "/tmp/tmpazrk0tsh/tmpd5f193ck.py", line 3, in <module> a_list = [str(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s436160774
p02401
u344890307
1556519627
Python
Python3
py
Runtime Error
0
0
267
while True: a,op,b=input().split() a=int(a) b=int(b) if op == "+": print(a+b) elif op =="-": print(a-b) elif op =="*": print(a*b) elif op =="/": print(a/b) elif a=="?" or b=="?" or c=="?": break
Traceback (most recent call last): File "/tmp/tmp1e3a4lwk/tmpjhs00_q0.py", line 2, in <module> a,op,b=input().split() ^^^^^^^ EOFError: EOF when reading a line
s473586080
p02401
u344890307
1556520444
Python
Python3
py
Runtime Error
0
0
315
def main(): operator={ "+":lambda x,y: x + y, "-":lambda x,y: x - y, "*":lambda x,y: x * y, "/":lambda x,y: x / y, } while True: a,op,b=input().split() if op == "?": break print("d".format(opertor[op](int(a),int(b)))) if __name__=='__main__': main()
Traceback (most recent call last): File "/tmp/tmp1yole5i1/tmp3zp9olae.py", line 9, in <module> a,op,b=input().split() ^^^^^^^ EOFError: EOF when reading a line
s505240516
p02401
u814278309
1556676202
Python
Python3
py
Runtime Error
0
0
164
a, op, b=input().split() a=int(a) b=int(b) if op=='+': print(a+b) elif op=='-': print(a-b) elif op=='*': print(a*b) elif op=='/': print(a//b) else: break
File "/tmp/tmpasy2lfpj/tmp_m6kl3zu.py", line 13 break ^^^^^ SyntaxError: 'break' outside loop
s552688051
p02401
u344890307
1556677207
Python
Python3
py
Runtime Error
0
0
301
while True: data = input().split() a = int(data[0]) op = data[1] b=int(data[2]) if op=='0': break if op=='+': print("{:d}".format(a+b)) elif op=='-': print("{:d}".format(a-b)) elif op=='/': print("{:d}".format(a/b)) elif op=="*": print("{:d}".format(a*b))
Traceback (most recent call last): File "/tmp/tmpqr2j3y9u/tmp4ln_eh7g.py", line 2, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s736815145
p02401
u344890307
1556677248
Python
Python3
py
Runtime Error
0
0
301
while True: data = input().split() a = int(data[0]) op = data[1] b=int(data[2]) if op=='0': break if op=='+': print("{:d}".format(a+b)) elif op=='-': print("{:d}".format(a-b)) elif op=='/': print("{:d}".format(a/b)) elif op=="*": print("{:d}".format(a*b))
Traceback (most recent call last): File "/tmp/tmp0nmd3tbm/tmprb3e19se.py", line 2, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s762730131
p02401
u344890307
1556677300
Python
Python3
py
Runtime Error
20
5596
301
while True: data = input().split() a = int(data[0]) op = data[1] b=int(data[2]) if op=='?': break if op=='+': print("{:d}".format(a+b)) elif op=='-': print("{:d}".format(a-b)) elif op=='/': print("{:d}".format(a/b)) elif op=="*": print("{:d}".format(a*b))
Traceback (most recent call last): File "/tmp/tmpzjqx6jk8/tmp1ip_1avq.py", line 2, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s652146271
p02401
u344890307
1556677537
Python
Python3
py
Runtime Error
0
0
252
while True: a,op,b = input().split() if op=='?': break elif op=='+': print("{:d}".format(a+b)) elif op=='-': print("{:d}".format(a-b)) elif op=='/': print("{:d}".format(a//b)) elif op=="*": print("{:d}".format(a*b))
Traceback (most recent call last): File "/tmp/tmpojre5gcv/tmpk7f2u1wb.py", line 2, in <module> a,op,b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s876148037
p02401
u344890307
1556677544
Python
Python3
py
Runtime Error
0
0
252
while True: a,op,b = input().split() if op=='?': break elif op=='+': print("{:d}".format(a+b)) elif op=='-': print("{:d}".format(a-b)) elif op=='/': print("{:d}".format(a//b)) elif op=="*": print("{:d}".format(a*b))
Traceback (most recent call last): File "/tmp/tmpuuccvm25/tmp4v4dxlv2.py", line 2, in <module> a,op,b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s584502919
p02401
u344890307
1556677671
Python
Python3
py
Runtime Error
0
0
252
while True: a,op,b = input().split() if op=='?': break elif op=='+': print("{:d}".format(a+b)) elif op=='-': print("{:d}".format(a-b)) elif op=='/': print("{:d}".format(a//b)) elif op=="*": print("{:d}".format(a*b))
Traceback (most recent call last): File "/tmp/tmpjgwnbg02/tmpo34ods9x.py", line 2, in <module> a,op,b = input().split() ^^^^^^^ EOFError: EOF when reading a line
s168179648
p02401
u630518143
1556723678
Python
Python3
py
Runtime Error
20
5608
588
ops = [] kekka = [] while True: op = [e for e in input().split()] if op[1]=="?": break ops.append(op) for i in range(len(ops)): if ops[i][1]=="+": sum = int(ops[i][0]) + int(ops[i][2]) kekka.append(sum) elif ops[i][1]=="-": hiku = int(ops[i][0]) - int(ops[i][2]) ...
Traceback (most recent call last): File "/tmp/tmpzenblcb2/tmp1ro5ap4x.py", line 5, in <module> op = [e for e in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s190462597
p02401
u345942558
1558934112
Python
Python3
py
Runtime Error
0
0
192
a , op , b = input().split() a = int(a) b = int(b) if op == "?": break elif op == "+": print(a+b) elif op == "-": print(a-b) elif op == "*": print(a*b) elif op == "/": print(a//b)
File "/tmp/tmp4h6avctb/tmp4k94pip2.py", line 5 break ^^^^^ SyntaxError: 'break' outside loop