1#to exicute a python file in Ubuntu follow the steps given below
2sudo apt install python3 #run this command in your terminal
3#if python3 is already in your pc leave this command
4#in the same terminal locate your file by using cd and run this command
5python3 <The_python_file_name.py>