About 972,000 results
Open links in new tab
  1. python - Better solution for multiplying numbers without multiply ...

    Feb 12, 2021 · Write a recursive function to multiply two positive integers without using the * operator. You can use addition, subtraction, and bit shifting, but you should minimize the …

  2. Multiply two numbers without using a multiplication operator or loops

    Mar 27, 2024 · Given two integers, multiply them without using the multiplication operator or conditional loops. 1. Using Recursion. The idea is that for given two numbers a and b, we can …

  3. How to multiply 2 numbers without using the multiplication

    Jun 9, 2023 · In this article, I will be sharing my method on how to multiply 2 numbers without using the multiplication operator. It will include my thought process while solving this problem …

  4. Multiplying in Python Without Using * - Help Please

    Jul 5, 2021 · I have to write a Python function which multiplies two values (a and b) without using the multiplication symbol *. I have to use addition and a while loop to write the function. I'm …

  5. How to Multiply a Number Without Using the Multiplication (*) …

    Multiplying numbers without the multiplication operator can be achieved using various techniques, such as iterative addition, bitwise operations, or recursion. These approaches leverage the …

  6. Python Program to multiply Two Numbers Without using

    We will develop a python program to multiply two numbers without using * operator. We will give two numbers num1 and num2. Python programs will multiply these numbers using a For Loop. …

  7. Python Program to Multiply Two Numbers Without Using Multiplication

    Below are the ways to multiply the given two numbers without using multiplication(*) Operator in Python: Using For Loop (Static Input) Using For loop (User Input)

  8. Multiply two integers without using multiplication, division

    Sep 19, 2022 · # Python3 program to Multiply two integers without # using multiplication, division and bitwise # operators, and no loops # divide a number by 2 recursively def divideby2 (num): …

  9. Python Math: Multiply two integers without using the

    Apr 24, 2025 · Write a Python function that multiplies two numbers recursively without using the * operator, then test it with several inputs. Write a Python script to implement an iterative …

  10. Multiplying without the multiplication operator in python

    Oct 11, 2014 · How do I write a python script that multiplies x * y without using the multiplication operator? you can use this code to solve the same problem. a = int(input("Intro a number: ")) b …

Refresh