0
Need help writing a program in python
how would I write a program that takes in 3 separate numbers, finds the median and then doubles the median to give the numbers as the output but shows the doubled median instead of the original number?
1 Answer
0
If you know that you are only taking 3 inputs you can do a manual sort using if,elif,else to find the middle value. Update the array with the doubled value and print.