First, click "Solve the Problem:" to see detailed instructions and useful information.
Second, try to code a solution to the problem using the embedded Python coding environment.
Third, if you are finding it difficult, you can click "Get Some Hints:" to see some tips to help you solve the problem. There is also music to help you focus midway down the page.
Finally, at the bottom of the page, there is an embedded Form where you can paste and upload your completed solution.
Once you have uploaded your code there will be a link to the solution at the end of the Form, so just like in the exam even if you can't entirely finish the solution, upload as much as you have been able to and you can then see the correct answer afterwards to see where (if anywhere) you went wrong.
This is basically the same algorithm as Challenge 5 - nothing like an easy win right? We can use the same initial input lines: number1 = int(input("Please enter your first number: ")) and number2 = int(input("Please enter your second number: ")). We just need to remember to cast the inputs as integers, becase we want to do maths with them.
Same as last time to begin with... answer = number1+number2 and then print(answer). Though, as we will be outputting two answers this time, it might be good to rename this variable so we can save both answers without them overwriting each other. So this first one for the addition could be answer1 = number1+number2 and then print(answer1).
But, how to do multiplication? If you have tried answer2 = number1xnumber2 and then print(answer2) you will have got an error message. Perhaps that is why you're in the hints? Well wonder no more - the operator in Python for multiplication is * (shift plus 8 on your keyboard, or in the top right by the number pad). x just won't work. While we're here, there is no standard divide sign on a keyboard, so what gives? Division in python is done using the / operator. There are some others too, but not needed right now!
Final solution (but over seperate lines, of course...): number1 = int(input("Please enter your first number: ")) and number2 = int(input("Please enter your second number: ")), then answer1 = number1+number2 , print(answer1) and answer2 = number1*number2 , print(answer2).