Hacker Newsnew | past | comments | ask | show | jobs | submit | AspiringGeek's commentslogin

how do you provide input to this code?


Yeah, the input processing part is missing but it is fairly trivial. It got most of the other stuff right.


so how would you provide the input to this code? I can't get it to working.


Read the file in. It would look something like input = open("filename", "r")


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: