- 3
Can anyone tell me the code for this program mentioned in the discription?
Take a input from the user and provide it's multiplication by 2 and division by 2 as a respons.you are not allowed to use the * and /operators.use the bitwise operators instead in python.
1 Answer
- 1
Multiplication by 2 without *
num=int(input())
print(num+num)