- 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.

2nd Dec 2021, 12:01 PM
SAfiullaH KhoKhar
SAfiullaH KhoKhar - avatar
1 Odpowiedź
- 1
Multiplication by 2 without * num=int(input()) print(num+num)
3rd Dec 2021, 10:56 AM
Pradeep KH
Pradeep KH - avatar