python calculator

Published: 08 October 2020
on channel: Ajay kumar
34
5

def calculator(num_1, num_2, op):
result = 0

if op == "+":
result = num_1 + num_2

elif op == "-":
result = num_1 - num_2

elif op == "*":
result = num_1 * num_2

print(f"{num_1} {op} {num_2} = {result}")


calculator(5, 895, "*")


On this page of the site you can watch the video online python calculator with a duration of hours minute second in good quality, which was uploaded by the user Ajay kumar 08 October 2020, share the link with friends and acquaintances, this video has already been watched 34 times on youtube and it was liked by 5 viewers. Enjoy your viewing!