Compare and contrast strings, lists, and tuples. For example, consider what they can hold and what operations can be done on the data structures.
Create a list of the squares of all numbers between 1 and 20.
Create a list of 100 integers whose value and index are the same, for example, L[5]=5. 4. A list shares characteristics with string, but there are some things that can be done with a list that cannot be done with a string. Describe them.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here