Let’s know how to save a python program and run it to get the output. Let my problem task is to find the max value among three values.
First in Python shell, go to File-> New File, the we will write the code, like
After writing code, now we will save that code in any location.
After saving we will run: To run this code go to Run->then click on Run Module->
==================== RESTART: E:/python programs/test1.py ====================
enter 1st number100
enter 2nd number200
enter 3rd number300
300
Now we will go the file where we saved. Here I have saved in python programs folder of E: drive. Just right click on that file and open it, u will get the output scenario in command prompt
After pressing enter then we will exit from the python program.
Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.
We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc