Python program to get two inputs num1 and num2, compute the product of num1 and num2 without using * operator Input: 5 6 Output: 30

num1=int(input("Enter first number:")) num2=int(input("Enter Second number:")) product=0 for i in range(0,num2): product+=num1 print(product)

Insteaded multiply num1 and num2, just add num1 for num2 times. For Example: num1 =4 and num2 = 3 4+4+4=12.

Print Whole numbers in python

Print ODD numbers in python

Print Even numbers in python

Print Natural numbers in reverse in python

Sum of natural numbers in python

N ODD numbers in python

N Even numbers in python

sum of Even numbers in python

Sum of odd numbers in pyhton

Sum of n numbers in python

First digit of number in python

First digit of number is odd or even in python

Multiply without * operator in Python

Multiplication Table in Python

Multiplication Table in Python till M

Sum of postive numbers in python

Decimal to Binary in Python

Binary to Decimal in python

Factorial in Python

Copyright © 2017 by Decode School. click here to read our Privacy Policy