How do you read from stdin?

I’m trying to do some of the code golf challenges, but they all require the input to be taken from stdin. How do I get that in Python?

2
23

Leave a Comment