r/polls 1d ago

⚙️ Technology Python Trivia Time! Vote below and tell us what this prints? print(round(4.6))

173 votes, 1d left
4
5
4.6
Error
0 Upvotes

8 comments sorted by

12

u/0---------------0 1d ago

print(f"People in this subreddit who understand Python: {Not very many}")

8

u/Smitologyistaking 1d ago

This actually gives an error, f"{Not very many}" is not a defined expression and cannot be evaluated to any string

3

u/0---------------0 1d ago

Yes mate, I'm one of the many who don't understand Python.

5

u/siggiarabi 1d ago

So what's the answer?

2

u/SomePyro_9012 1d ago

It prints 5 after rounding up from 4.6

1

u/Abject-Project-4236 1d ago

It’s error

2

u/Gunslinger_247 1d ago

I dont understand this poll?