A beginner-friendly guide to working with Python 3 direct from the horses mouth (python.org).
1. Open a new file called "print.py". 2. Write your first line of code. Type 'print("")' with any sentence or word you want to output. 3. Run the program from the Terminal, type "python print.py" and hit [Enter]. 1. Creating variables is very simple, just declare the variable and assign a value, ex. type "greeting =". 2. Now anything you put after the quotations, ex. a number, a string (of text), will be saved in your program as "greeting". 3. See this in action, type print(greeting) and run the program. 1.-
Notifications
You must be signed in to change notification settings - Fork 0
imjayapple/Python-Documentation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A beginner-friendly guide to working with Python 3 direct from the horses mouth (python.org)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published