We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ea0cc commit 10b573aCopy full SHA for 10b573a
OOPS/polymorphism_operator overloading
@@ -0,0 +1,7 @@
1
+# Operator Overriding is when a operator performs differently with different types of arguements.
2
+
3
+def plus(a, b):
4
+ return a+b
5
6
+print(plus(14, 72)) # Output: 86
7
+print(plus("hacktober" + "fest")) # Output: hacktoberfest
0 commit comments