29
loading...
This website collects cookies to deliver better user experience
# This is a single line comment example
print("Hello World")
print("Hello World") # This is a example of inline comment
/* This is a comment block
which supports
Multi-line code */
# This is how we can acheive
# Multi-line comments in Python
print("Hello World")
def Add(a,b):
'''Takes two number as input and returns sum of 2 numbers'''
return a+b
def Add(a,b):
'''Takes two number as input
Adds a and b
Returns sum of a and b as output
'''
return a+b
print(Add(5,6))