Compsci 101, Fall 2015, October 29-2
Sign in to Google to save your progress. Learn more
Names
netid
netid
netid
netid
These questions based on the VenmoTracker APT, be sure you've read it and understood it.
Which of the following code snippets might be part of different student solutions that get all green. These are to process one element of the list parameter transactions
for element in transactions:
A dictionary is maintained in variable d so that d["bob"] is the amount of cash-flow for a person whose name is "bob". Which code snippet might you expect to see in a student solution that is all green?
If ("bob", 52.0) is a tuple in d.items() for a dictionary and this tuple is stored in variable t, which statement makes a string in the proper format to return for this APT?
only one answer is correct
Clear selection
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy