Chat with us, powered by LiveChat python programming - EssayAbode

python programming

results = []
while True:

name = input(‘enter name: ‘)
grade = float(input(‘enter grade: ‘))
grades = (‘A’, ‘B’, “C”, ‘D’, “F”)

if grade > 90:
results.append((name, grade, grades[0]))
elif grade < 90 and grade > 80:
results.append((name, grade, grades[1]))

answer = input(‘Continue?’)
if answer == ‘N’ or answer == ‘n’:
break

print(results)

Once you have the code running, copy and paste it to a Word document. Run the program with at least three data sets, copy the results and paste it to the same document. Upload two files:

1. the Word document (.docx file), and

2. the source code (.py file)

Related Tags

Academic APA Assignment Business Capstone College Conclusion Course Day Discussion Double Spaced Essay English Finance General Graduate History Information Justify Literature Management Market Masters Math Minimum MLA Nursing Organizational Outline Pages Paper Presentation Questions Questionnaire Reference Response Response School Subject Slides Sources Student Support Times New Roman Title Topics Word Write Writing