diff --git a/Assignments/Assignment_3.1 b/Assignments/Assignment_3.1 new file mode 100644 index 0000000..5a3abdb --- /dev/null +++ b/Assignments/Assignment_3.1 @@ -0,0 +1,21 @@ +Hello Fellows! + +Write a program to prompt the user for hours and rate per hour using raw_input to compute gross pay. +Pay the hourly rate for the hours up to 40 and 1.5 times the hourly rate for all hours worked above 40 hours. +Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). +You should use raw_input to read a string and float() to convert the string to a number. + + +Do not worry about error checking the user input - assume the user types numbers properly. + +Please begin writing the program with the code below: +hrs = raw_input("Enter Hours:") +h = float(hrs) + + + +Happy Coding, +Tunisia + + +In courtesy of Coursera. diff --git a/Assignments/Assignment_3.3 b/Assignments/Assignment_3.3 new file mode 100644 index 0000000..b10a23d --- /dev/null +++ b/Assignments/Assignment_3.3 @@ -0,0 +1,23 @@ +Hello Fellows! + +Write a program to prompt for a score between 0.0 and 1.0. +If the score is out of range, print an error. If the score is between 0.0 and 1.0, print a grade using the following table: + +Score Grade +>= 0.9 A +>= 0.8 B +>= 0.7 C +>= 0.6 D +< 0.6 F + +If the user enters a value out of range, print a suitable error message and exit. For the test, enter a score of 0.85. + +Please begin writing the program with the code below: +score = raw_input("Enter Score: ") + + +Happy Coding, +Tunisia + + +In courtesy of Coursera. diff --git a/Resources/Class3_03-29-16/AddingFilestoGitHub.pdf b/Resources/Class3_03-29-16/AddingFilestoGitHub.pdf new file mode 100644 index 0000000..3154ce6 Binary files /dev/null and b/Resources/Class3_03-29-16/AddingFilestoGitHub.pdf differ diff --git a/Resources/Class3_03-29-16/Assignment2_Tunisia_Mitchell.py b/Resources/Class3_03-29-16/Assignment2_Tunisia_Mitchell.py new file mode 100644 index 0000000..c4a9037 --- /dev/null +++ b/Resources/Class3_03-29-16/Assignment2_Tunisia_Mitchell.py @@ -0,0 +1,6 @@ +Hello Class, + +An example of how to upload an assignment. + +Happy Coding, +Tunisia Mitchell \ No newline at end of file diff --git a/Slides/03-29-16-Expressions.pdf b/Slides/03-29-16-Expressions.pdf new file mode 100644 index 0000000..14f3d64 Binary files /dev/null and b/Slides/03-29-16-Expressions.pdf differ diff --git a/Slides/04-05-16-Conditional.pdf b/Slides/04-05-16-Conditional.pdf new file mode 100644 index 0000000..5553a45 Binary files /dev/null and b/Slides/04-05-16-Conditional.pdf differ diff --git a/Slides/Py4Inf-01-Intro (1).pdf b/Slides/Py4Inf-01-Intro.pdf similarity index 100% rename from Slides/Py4Inf-01-Intro (1).pdf rename to Slides/Py4Inf-01-Intro.pdf