- Create a folder in your week_01/day_1 directory
mkdir precourse_recap
cd precourse_recap
- Initialize a git repository in the folder
git init
- Create a new file called precourse_recap.py
touch precourse_recap.py
-
In the file, create a simple Python program:
- create variables of different types
- call some methods/functions on these variables
- use some operators (e.g. +, -)
-
Stage the file
git add .
- Commit the files to the repository
git commit -m "first commit"
- Create a new repository
- Add the Github remote
- Push to the remote repository
git push origin main