00:01
Hello, so the task is to write a python program that will work as a sort of calculator with these seven different operations.
00:10
So first i hear you sprint to print a little menu showing all the options to the user.
00:16
Then we need to ask the user for the input for what operation they want to do.
00:22
So i'm going to say choice, equal input, choose an operation.
00:29
And now we can check the choice.
00:32
And do the operation accordingly.
00:35
So if choice equals 1, then we need to ask for two numbers and do validation.
00:46
So i'm going to say n1 equals float of input, enter first number, and then n2, enter second number.
01:08
And then i'm going to print the result, which will be n1, plus.
01:15
And 2 equals and 1 plus and 2.
01:24
And now we simply need to repeat this for all the other cases.
01:31
So let me just say elif choice equals 2 is the same thing, but now with subtraction.
01:43
And if elif choice equal 3 is the same thing, but with multiplication...