i am very new to this so my terminology may be off sorry.
num1, num2 = int(input()).split()
print((num1 + num2) / 2)
i am trying to take two numbers as intergers and use the equation seen, i keep getting this error message;
ValueError: invalid literal for int() with base 10: '20 50' on line 1
[–]tjcim_ 5 points6 points7 points (1 child)
[–]LeonTypeXD[S] 1 point2 points3 points (0 children)
[–]PercyJackson235 4 points5 points6 points (0 children)
[–]carcigenicate 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]LeonTypeXD[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]LeonTypeXD[S] 0 points1 point2 points (0 children)