Answers for "how to fix def multiply(a ,b): a*b"

0

how to fix def multiply(a ,b): a*b

//Statement 
def multiply(a, b):
  a * b
//Line 3 is wrong, so the correct line is
def multiply(a ,b)
	return (a * b)
Posted by: Guest on August-11-2020
0

how to fix def multiply(a ,b): a*b

a=int(input("enter the first number: "))
b=int(input("Enter the second number: "))
def=a*b;
print("The multiply is: ",def)
Posted by: Guest on July-26-2021

Code answers related to "how to fix def multiply(a ,b): a*b"

Python Answers by Framework

Browse Popular Code Answers by Language