Here is some code. It is written in a high level programming language - Python. It is stored in a text file. Download it. Can you run it?
We need a special application to help us:
An Integrated Development Environment - IDE will allow us to do all of these things!
There are many IDEs that are available online.
Copy and paste the code into this online IDE and run it. Does it work?
You can create an account and save your work.
Another great option is replit.
The problem with relying on a cloud-based IDE is that you always need a reliable Internet connection to write, compile and run your code.
It is good practice for a programmer to have an IDE on his/her computer.
This course will be based on Python and a recommended IDE would be IDLE
To check if you already have Python3 on your computer, open Terminal and type python3. You should get a confirmation if you have it or a message that you don't!
If you don't have it - download it and install it. Click . Make sure you choose Windows or MAC OS or whichever operating system your computer uses.
IDLE should install with Python and an IDE called IDLE.
After installing, search for and open IDLE.
Copy and paste the above code into a new IDLE file and run the program.
Does it work?
Can you debug it to get it to work? hint: Google the error and see if you can figure out what is wrong. Or use AI...
If the user's name is Jack, the program will output Hi Jack! otherwise it just outputs Hi!
Submit your .py file as instructed by your teacher.
integratedsyntax development environment machine code translate type errorcompile