Please install the following software:
Please watch this video for help with this section.
- Fork the repository
- Enable GitHub Actions
- Clone your forked repository
- Open in PyCharm
- Configure Python interpreter
In python, we can print values using the print()
function.
Here's an example of how to use it.
print("Hello, world!") # Output: Hello, world!
print(5) # Output: 5
Please watch this video for help with this section.
Open the file named "init.py" in the "app" folder. This file will be where you write the code for each exercise.
For this exercise, simply read the code in the file.
To run the code, open the "console" in PyCharm, then run the following command.
scripts/run
There will be a lot of junk on the screen, but you should see "Hello, world!" at the bottom.
Test check your work, run the following command.
scripts/check
There will be a lot of junk on the screen, but you should see "congratulations :)" at the bottom. If there is something wrong with your code, you will see a description of the problem instead.
Once you're finished, you can upload your to GitHub by committing your code and pushing it in GitKraken. You can also double-check your work with the automatic GitHub Actions checks.