Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

num1 = int(input("Enter first number\n")) num2 = int(input("Enter second number\n")) res = print("The product is", res

Famous Falcon answered on September 2, 2021 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • i=int(input("enter the number")); sum=0; pro=1; while(i>0): d=1%10; if (d%2==0): sum=sum+d; else: pro=pro*d; i=i//10; print("sum=",sum,"product=",pro);
  • # Store input numbers num1 = input('Enter first number: ') num2 = input('Enter second number: ') # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
  • # Store input numbers num1 = input('Enter first number: ') num2 = input('Enter second number: ') # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
  • def main(): #Line2 num = int(input("Please enter an integer value:")) #Line3 printNum(num) #Line4 def printNum(numVal): #Line5 if numVal < 0: #Line6 print ("Done") #Line7 else: printNum(numVal-1) #Line8 print(numVal) #Line9 main() #Line1
  • a=[] n=int(input("Enter number of elements:")) for i in range(1,n+1): b=int(input("Enter element:")) a.append(b) a.sort() print("Largest element is:",a[n-1])

  • num1 = int(input("Enter first number\n")) num2 = int(input("Enter second number\n")) res = print("The product is", res

    0
    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: product python
    Link to this answer
    Share Copy Link
    Contributed on Aug 23 2022
    Famous Falcon
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0
    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: python
    Link to this answer
    Share Copy Link
    Contributed on Sep 02 2021
    Thoughtful Tortoise
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: python
    Link to this answer
    Share Copy Link
    Contributed on Jan 11 2022
    Jittery Jay
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: python
    Link to this answer
    Share Copy Link
    Contributed on Mar 25 2022
    Mahathir Khanodoker
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: python
    Link to this answer
    Share Copy Link
    Contributed on Mar 27 2022
    Esmee Doak
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.