From 73ea895a8aef5564b046f85f8aafff2a1750e4f9 Mon Sep 17 00:00:00 2001 From: Rib Date: Sat, 8 Apr 2017 14:39:56 -0500 Subject: [PATCH 1/2] added algorithms folder --- rib_ribble/algorithms/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 rib_ribble/algorithms/.keep diff --git a/rib_ribble/algorithms/.keep b/rib_ribble/algorithms/.keep new file mode 100644 index 0000000..e69de29 From bfa92222a9fec2926336e2b6c8caa22889865c13 Mon Sep 17 00:00:00 2001 From: Rib Date: Sat, 8 Apr 2017 19:56:22 -0500 Subject: [PATCH 2/2] added dictionary_basics.py --- .../assignments/python_fun/dictionary_basics.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 rib_ribble/assignments/python_fun/dictionary_basics.py diff --git a/rib_ribble/assignments/python_fun/dictionary_basics.py b/rib_ribble/assignments/python_fun/dictionary_basics.py new file mode 100644 index 0000000..fd55f17 --- /dev/null +++ b/rib_ribble/assignments/python_fun/dictionary_basics.py @@ -0,0 +1,16 @@ +def me(user): + print "My name is " + user["name"] + print "My age is " + str(user["age"]) + print "My country of birth is " + user["country"] + print "My favorite language is " + user["language"] + + + + + + + + + +user1 = {"name": "rib", "age": 101, "country": "USA", "language": "SQL"} +me(user1) \ No newline at end of file