Create a Python function, named sequenceMax, which takes a list of numbers and returnsthe length of the longest sequence of
This problem has been solved!
Do you need an answer to a question different from the above? Ask your question!
Question:
Here's one way to request a list from a user:
ch = input ("Please enter a list of integers separated by commas:")
But now ch is a list of strings that look like integers, so you need to create a
new list which is a list of integer equivalents.
Examples (3 executions):
Please enter a comma separated list of values:
1,2,1,3,3,3,6,1,1
3
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
View Solution
Create a free account to access the answer
Cannot find your solution?
Post a FREE question now and get an answer within minutes.
* Average response time.
Question Details
Chapter #
15- Implementing a Collection Class
Section: Exercises
Problem: 10
Posted Date: September 26, 2023 05:55:56