Alright so I started learning python in my classes but I am very annoyed how you cannot declare variable types in python like other languages. What would be the best way to turn these strings into integers?
for lineNum, line in enumerate(sys.stdin):
if(lineNum == 0):
xc, yc = eval(line)
xc = int(xc)
yc = int(yc)
elif(lineNum == 1):
r = line
r = int(r)
elif(lineNum == 2):
x1, y1 = eval(line)
x1 = int(x1)
y1 = int(y1)
else:
x2, y2 = eval(line)
x2 = int(x2)
y2 = int(y2)