Python program where first line of input has an integer "n" and next line of input has "n-1" space separated integers having value between 1 to n and no number is repeating. Now you have to find which number is missing.
Run the code in terminal by using the command:
python missing_num.py
Then pass the inputs. For example:
Enter n: 5 1 2 3 5
The output will be printed as 4.