You are viewing a single comment's thread. Return to all comments →
Looks good, but to avoid those repetitive input calls you could do something like:
x, y, z, n = (int(input()) for _ in range(4))
Seems like cookies are disabled on this browser, please enable them to open this website
List Comprehensions
You are viewing a single comment's thread. Return to all comments →
Looks good, but to avoid those repetitive input calls you could do something like: