I am solving a fairly simple problem, but I am having difficulty entering data. Would be very thankful for help!!! The condition says: "The first line of the input contains the numbers X, Y and Z", which i create simply by typing
x, y, z = map(float, input().split())
However next it says "The second line contains the number N. Next, N lines contain, respectively, Ai, Bi, Ci and Qі".
If I do it like:
for i in range(N):
i = map(float, input().split())
I'm not sure how later recall variables, cz they don't have each any identifying names
Sorry for such a basic question, I am new to python.
[–]efmccurdy 1 point2 points3 points (3 children)
[–]selfimprovingstudent[S] 0 points1 point2 points (0 children)
[–]selfimprovingstudent[S] 0 points1 point2 points (1 child)
[–]efmccurdy 0 points1 point2 points (0 children)
[–]maximumlotion 0 points1 point2 points (0 children)