How To Code

With Nate

Hi I'm gonna teach you how to code in Python


Print:

To use the print function all you have to do is add a sring into the brackets

For Example:

print('Nate is an Awesome Coding Teacher')

This Code makes it so that phrase will be displayed in the console



Variables:

Variables are used to store information

These are what a variable can store:



Strings:
Text
Numbers:
Exactly what it sounds like
Equations:
Doing Arithmatic with multiple numbers
Booleans:
A True or False statement
Objects:
Something that holds multiple statements (using classes)