I am an entry-level Frontend Developer passionate about modern web technologies. Currently, I am honing my skills through the Rolling Scopes School course. My focus is on building intuitive, visually appealing, and user-friendly interfaces. I am eager to grow in the IT field and contribute to meaningful projects that make a difference.
num1 = float(input("Enter number one:"))
num2 = float(input("Enter number second: "))
operation = input("Choose operation +, -, *, /: ")
if operation == "+":
result = num1 + num2
print(f"{num1} + {num2} = {result}")
elif operation == "-":
result = num1 - num2
print(f"{num1} - {num2} = {result}")
elif operation == "*":
result = num1 * num2
print(f"{num1} * {num2} = {result}")
elif operation == "/":
if num2 != 0:
result = num1 / num2
print(f"{num1} / {num2} = {result}")
else:
print("error!")
else:
print("Unknown command")
*English (C2-advanced)