r/PythonLearning • • 11d 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/Money_Ad_5277 11d ago edited 11d ago

Error? int object doesn't have attribute mul?