Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AspiringGeek
· 4y ago · 0 comments
how do you provide input to this code?
Comments
[–]
isb
4y ago
Yeah, the input processing part is missing but it is fairly trivial. It got most of the other stuff right.
[–]
AspiringGeek
OP
4y ago
so how would you provide the input to this code? I can't get it to working.
[–]
lemonJesus
3y ago
Read the file in. It would look something like input = open("filename", "r")