Here are the resources I’ve found most helpful as a beginner

Photo by Eli Francis on Unsplash


Learning by doing

Photo by Sigmund on Unsplash

Creating duplicate lists with different reference ids

Photo by Markus Spiske on Unsplash
>>> binary = [1, 1, 0, 1, 1, 0, 1, 0, 0, 1]
>>> id(binary)
140482932383808


How to pack and unpack tuples

Photo by Markus Spiske on Unsplash

What is a tuple?

A tuple is a set of values separated by commas. For example:

'hello', 'goodbye', 'see ya later', 'good morning', 'good night'

How does a tuple differ from a list?

A tuple differs from a list in that a list is mutable (i.e. — it can be changed, added to, taken away from, etc.), whereas a tuple is immutable. For example, a list would look like this, surrounded by brackets:

['hello', 'hi', 'nice to see you', 'how are you?', 'good morning']
>>> greetings = ['hello', 'hi', 'nice to see you', 'how are you?', 'good morning']


Mini-learns with Python

Photo by Janko Ferlič on Unsplash
My favorite book is X.
I don't like to read.
def fav_book(book):
pass


Mini-learns with Python 3

Photo by Chandan Siddaramaiah on Unsplash

To import this into our Python REPL or code

from itertools import combinations

The function

def find_combos(arr):
combos = list(combinations(arr, 4))
print(combos)

Breaking this down


Mini-learns with Python

Photo by Marc Schulte on Unsplash
meal_plan = {
"Monday": "tuna sandwiches",
"Tuesday": "crackers and cheese",
"Wednesday": "caesar salad",
"Thursday": "spaghetti and meatballs",
"Friday": "pizza"
}
meals = ["tuna sandwiches", "crackers and cheese", "caesar salad", "spaghetti and meatballs", "pizza"]


Getting back into studying coding after a long hiatus

Photo by George Pagan III on Unsplash

Reflections on Rob Bell’s latest book “Everything Is Spiritual”

Sunrise — Ocean City, NJ


Dispelling depression through curiosity

Photo by Andrew Neel on Unsplash

Joe Cardillo

Coding, creativity, music, and books. Pianist & composer — @vontmer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store