CS 2316 Quiz: CS2316 GT Quiz4 Spring2016

20 views2 pages
15 Feb 2019
Course
Professor

Document Summary

This side up: assume you have a variable defined as follows: thedata = [ [ summet,jay , montana, joe ], [ 0, 273], [ 0, 139], [0, 40551], [0, 92. 3] ] Write python code that will save this data in csv format (one inner list per row) to a file called stats. csv: write a function named comparestrings that will take in two strings as parameters. The two strings will be the same length. Go through the two strings one character at a time. Return the count of the number of times the corresponding characters of the two strings are the same. Note: the character must match exactly, including case. Cba you would return 1: write a function in python called numberlist that will accept a list of strings as an argument. The list will consist of a name followed by 1 or more numbers (integers or floats) stored as strings.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents