Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Given list of strings, write a script to count the number of strings that the string length is 3 or more and the
Given list of strings, write a script to count the number of strings that the string length is or more and the first and last characters are the same. For example, a list of cbcwwabcstrings will have a result of cbc and strings
Given a list of numbers, ie write a script to find the largest number and its position in the list. It would be the th element and the value is in the example above.
Given a list of numbers of strings, find whether there are two or more numbersstrings match having the same value For example, has no match while GIS "script", "Programming", "Python", "GIS" has a match.
Optional We have students in the class, simulate the chance that there are students with the same birthday the same day, not the year assuming days a year. this is an expansion of #Hint: generating random numbers in the range between and and find if there is a match; repeating the process many times the more times you repeat, the more accurate your result is and count how many times there is a match.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started