






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







§ Example: info = 'RAISMAN, 6.7, 9.1,0'
Where, in the following sequence of commands, does the first (conceptual) error occur? A: startcomma = info.index(',') B: tail = info[startcomma+1:] C: endcomma = tail.index(',') D: df = tail[:endcomma-1] E: this sequence achieves the goal .
Current working directory Tabs for open files Execution output when file is “run” Current active file Line numbers Run the file; see website for how to add this
§ Example: info = 'RAISMAN, 6.7, 9.1,0'
Where, in the following sequence of commands, does the first (conceptual) error occur? A: startcomma = info.index(',') B: tail = info[startcomma+1:] C: endcomma = tail.index(',') D: df = tail[:endcomma-1] E: this sequence achieves the goal tail[:endcomma].strip() (We'll post correct code) +2 instead, or use
§ Getting user input: raw_input() § Help function: help()
Function name Argument list What the function evaluates to