Name: __________________________ NetID: _____________ Name: __________________________ NetID: _____________ Name: __________________________ NetID: _____________
These questions are related to program Uppity.py
main
there is a variable defined that
has the type string or str
(Python style). What is
the variable and what are the clues that it is a string?
filename
in
the function uppify_file
? How do you know?
uwords
in uppify_file
has
the type list
. What clues would help you determine
this?
uppify_list
. What is the method and what are the clues that
it is a string method?
print_list
prints exactly one
line of output. This is in part because one of the
print
statements in the function uses a comma --
explain what you think the role of the comma is.
The program doesn't work the same. What happens and why is it different?