Question: Write a python code to get 4 numbers ( 1 - 9 ) from a user input, then print how to calculate 2 4 ,

Write a python code to get 4numbers (1-9) from a user input, then print how to calculate 24,or say "Not Possible", you need to find a way to calculate them as 24by applying numeric operations (add,minus, divide and multiply).Every number can only be used ONE time. Ifthere is no way to make 24,you just report "Not Possible".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!