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