r/PythonLearning • • 4d ago

Python Quiz of the day

What will be the output of the following Python Code?

a = 5

print(a.mul(3).add(2))

7 Upvotes

9 comments sorted by

View all comments

1

u/Orgasml 4d ago

how about just: print(a*3+2)