You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
258 B
12 lines
258 B
4 years ago
|
########## Begin ##########
|
||
|
student_str = ""
|
||
|
########## End ##########
|
||
|
point_ls = student_str.split()
|
||
|
answer = 0
|
||
|
for point in point_ls:
|
||
|
point = point.split(",")
|
||
|
x = float(point[0])
|
||
|
y = float(point[1])
|
||
|
answer += x
|
||
|
answer += y
|
||
|
print(answer)
|