0
Question in description pls explain it plss
def addition_function(a,b): a=a+2 b = b +3 result addition_function(5,7) print (result)
2 Respuestas
+ 1
# your code should be:
# thinkable shorter name
def add_func(a,b):
# do not forget indents
# no need for `a=a+2` or `b=b+3`
# do not forget to return what you need here:
return a+2,b+3
# now assign the result
result = sum_func(5,7)
# print it
print(result)
+ 1
# or if you don't care about differences
s = lambda *x: map(lambda y: int(y)+3,x)
print(list(s(5,7)))