In this we are going to see a basic program that changes value of global variables in function in Python Programming Language.
x = 5
def add(x, y):
z = x+y
return z
print(add(x, 10))
print(add(6, 15))
# Coded By DHIRAJ SHELKE
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP