r/PythonLearning • u/clcodingupdates • 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
r/PythonLearning • u/clcodingupdates • 11d ago
What will be the output of the following Python Code?
a = 5
print(a.mul(3).add(2))
View all comments
1
u/Money_Ad_5277 11d ago edited 11d ago
Error? int object doesn't have attribute mul?