Python/git help new to programming

I am new to programming and I was wondering about whether or not this is good for a first program. I feel like i made it a bit chaotic when I could have simplified it a bit more. Mainly I was wondering about how I could upload this file to github? i have git bash im just not sure how to upload the python file.

You can always refactor after you written the code, to clean it up. Sounds like a good challenge for you

If you really want a project/repository, i would recommend going to github, and creating a new repository:

https://github.com/new

which contains these instructions for adding this remote to your local project:

git remote add origin https://github.com/username/repository.git
git push -u origin master

where username is your github username, and repository is the same of the repository (which you provided when creating this repository)

github also has gists, for single files.

1 Like