the names and course and grade dont print, just the totals
Click Here
it reads a file text file
Click Here
the output should look like
Click Here
Im barely learning how to use the control break method and most of the program is broken up in functions.
Im not looking for any fancy functions just the basic that dont deviate from what Ive learned in basic python.
any help is appreciated though :D
Fernando_1
0
Newbie Poster
Recommended Answers
Jump to PostPlease use the Code button in the forum's editor to post your code
# VARIABLE DEFINITIONs currentName = "" course = "" grade = "" categoryTotal = 0 eof = False grandTotal=0 gradeFile = "" #----------------------------------------------------------------------- # CONSTANT DEFINITIONS #----------------------------------------------------------------------- # FUNCTION DEFINITIONS def startUp(): global gradeFile,currentName,previousName,course,grade,eof …
Jump to PostYou don't ever print tempStr.
All 8 Replies
Gribouillis
1,391
Programming Explorer
Team Colleague
TrustyTony
888
pyMod
Team Colleague
Featured Poster
woooee
814
Nearly a Posting Maven
woooee
814
Nearly a Posting Maven
Fernando_1
0
Newbie Poster
woooee
814
Nearly a Posting Maven
TrustyTony
commented:
Observant
+12
Fernando_1
0
Newbie Poster
woooee
814
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.