-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPythonAssignments.html
More file actions
executable file
·1 lines (1 loc) · 5.25 KB
/
PythonAssignments.html
File metadata and controls
executable file
·1 lines (1 loc) · 5.25 KB
1
<html><head><meta content="text/html; charset=UTF-8" http-equiv="content-type"><style type="text/css">ol{margin:0;padding:0}table td,table th{padding:0}.c0{color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:"Arial";font-style:normal}.c1{padding-top:0pt;padding-bottom:0pt;line-height:1.15;orphans:2;widows:2;text-align:left}.c4{background-color:#ffffff;max-width:468pt;padding:72pt 72pt 72pt 72pt}.c2{font-weight:700}.c3{height:11pt}.title{padding-top:0pt;color:#000000;font-size:26pt;padding-bottom:3pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}.subtitle{padding-top:0pt;color:#666666;font-size:15pt;padding-bottom:16pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}li{color:#000000;font-size:11pt;font-family:"Arial"}p{margin:0;color:#000000;font-size:11pt;font-family:"Arial"}h1{padding-top:20pt;color:#000000;font-size:20pt;padding-bottom:6pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h2{padding-top:18pt;color:#000000;font-size:16pt;padding-bottom:6pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h3{padding-top:16pt;color:#434343;font-size:14pt;padding-bottom:4pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h4{padding-top:14pt;color:#666666;font-size:12pt;padding-bottom:4pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h5{padding-top:12pt;color:#666666;font-size:11pt;padding-bottom:4pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h6{padding-top:12pt;color:#666666;font-size:11pt;padding-bottom:4pt;font-family:"Arial";line-height:1.15;page-break-after:avoid;font-style:italic;orphans:2;widows:2;text-align:left}</style></head><body class="c4"><p class="c1"><span class="c2">Hello World</span><span class="c0"> - Print out "hello world"</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c2">Greeter</span><span class="c0"> - Ask the user for their name and print a nice greeting using their name in the response</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c2">Word Repeater</span><span class="c0"> - Ask the user for a word and a number. Print the word as many times as the number they entered.</span></p><p class="c1"><span class="c0"> example:</span></p><p class="c1"><span class="c0"> word: pizza </span></p><p class="c1"><span class="c0"> number: 5</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c0"> pizza</span></p><p class="c1"><span class="c0"> pizza </span></p><p class="c1"><span class="c0"> pizza</span></p><p class="c1"><span class="c0"> pizza</span></p><p class="c1"><span class="c0"> pizza</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c2">Riddle</span><span class="c0"> - Ask the user a riddle. Tell them if they got the correct answer or not</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c2">Change Calculator </span><span class="c0">- Ask the user how many pennies, dimes, nickels, and quarters they have. Calculate their total dollar amount and give them the answer.</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c2">Test Scorer </span><span class="c0">- Ask the user what score they got on a test and give them a letter grade based on the following chart:</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c0"> 90 - 100: A</span></p><p class="c1"><span class="c0"> 80 - 89: B</span></p><p class="c1"><span class="c0"> 70 - 79: C</span></p><p class="c1"><span class="c0"> 60 - 69: D</span></p><p class="c1"><span class="c0"> 0 - 59: F</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1"><span class="c2">High Low Game</span><span class="c0"> - Generate a random number from 1 - 100. Ask the user to guess the number. Tell them if they are too high or too low. Repeat this until they guess the number. Tell them how many tries it took.</span></p><p class="c1 c3"><span class="c0"></span></p><p class="c1 c3"><span class="c0"></span></p></body></html>