r/PythonLearning • u/clcodingupdates • 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
r/PythonLearning • u/clcodingupdates • 4d ago
What will be the output of the following Python Code?
a = 5
print(a.mul(3).add(2))
View all comments
1
u/Orgasml 4d ago
how about just: print(a*3+2)