diff --git a/Students/RalphBrand/session04/Dictionary.py b/Students/RalphBrand/session04/Dictionary.py new file mode 100644 index 00000000..72cb02e9 --- /dev/null +++ b/Students/RalphBrand/session04/Dictionary.py @@ -0,0 +1,20 @@ +StringNum = ["zero", "one", "two", "three", "four", "five", "six", + "seven", "eight", "nine", "ten", "eleven", "twelve", + "thirteen", "fourteen", "fifteen"] + + +HexNum = [] + +for i in range(16): + HexNum.append( hex( i ) ) + +d = {} +for i, j in zip( StringNum, HexNum ): + d.setdefault( i, j ) +print d + +e = {} + +for i in d: + e.setdefault( i, i.count("t") ) +print e \ No newline at end of file diff --git a/Students/RalphBrand/session04/students.py b/Students/RalphBrand/session04/students.py new file mode 100644 index 00000000..e69de29b diff --git a/Students/RalphBrand/session04/students.txt b/Students/RalphBrand/session04/students.txt new file mode 100644 index 00000000..59d4840a --- /dev/null +++ b/Students/RalphBrand/session04/students.txt @@ -0,0 +1,36 @@ +name: languages +Albright, Ryan J : VBA, +Ascoli, Louis John : Basic, assm, shell +Balcarce, Darcy : matlab, autocad, python +Brand, Ralph P : C, C++, SQL, +Buer, Eric : matlab, VBA, SQL, +Claessens, Michel : VBA, basic SQL, pascal, matlab +Conde, Ousmane : +Davis, Bryan L : +Davis, Ian M : C++ +Evans, Carolyn J : SQL, +Fischer, Henry B : C, VB, SQL, SAS, +Fries, Lauren : python +Fugelso, David : C, C++, C#, Java +Fukuhara, Wayne R : VB, +Galvin, Alexander R : shell, C++, python +Gupta, Vinay : C, C++, shell +Hamed, Salim Hassan : Java, R, SAS, VBA +Hart, Kyle R : QBasic, HTML, +Hashemloo, Alireza :Javascript, PHP, C++ +Huynh, Chantal : Basic, SQL, Stata +Kazakova, Alexandra N : R, python, +Klock, Andrew P : C++, R, perl +Kramer, Aleksey :Java, R, shell +Lottsfeldt, Erik Ivan : basic, fortran, +Marcos, Danielle G : python +Mier, Benjamin C : C++, C#, +Nunn, James Brent : shell, SQL, perl, pl1 +Perkins, Robert W : fortran, pascal, stata, javascript, sql +Reece, Lesley D : html, SQL, PLSQL, perl, shell +Schwafel, Schuyler Alan : bash, python, perl, php +Simmons, Arielle R : Scheme, Java, VBA, python +Sylvan, Gideon I : +Westman, Eric W : C#, PHP, SQL, javascript +Zhang, Hui : FoxBase +Zhu, Changqing : C,