func add

Question

Write a function that returns the sum of two numbers.

solved 1
YashikaKhurana 4 years 1 Answer 1086 views Master 0

Answer ( 1 )

  1. def add(a,b):
    return a+b

    Best answer
  2. def add(a,b):
    return a+b
    print(add(2,3))

  3. def add(a,b):
    return 2+3
    print(add(2,3))

    0

    def add(x,y):
    return x+y

Leave an answer

Browse
Browse