You are viewing a single comment's thread. Return to all comments →
You can also take in the entire buffer at once with
from sys import stdin x,y,z,n = map(int, stdin.readlines())
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 →
You can also take in the entire buffer at once with