Last active
August 29, 2015 14:25
-
-
Save Jbot29/56d5e2b7d50e745e0243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add code examples to each of this. Add more questions with things you are stuck on with code examples. | |
Add examples only when you don't remember or get stuck on how to do something. This is a cheat sheet. | |
#Variables: | |
What is a variable? | |
What is the difference between a variable and a string? | |
#Looping: | |
What is a for loop? | |
What is the difference between using | |
a = [1,2,3] | |
for x in a: | |
and for x in range(0,3): | |
#Data types: | |
How do I append data to an array? | |
What is the difference between an array and hash? | |
How do I add a key to a hash? | |
#Functions: | |
Define what a function is? | |
How do I pass data into a function? | |
How do I return data into a function? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment