Question: Exercise: a) Write a Python statement to convert the string 'abcd' to a list of characters and name this list chars1. b) Write a
Exercise: a) Write a Python statement to convert the string 'abcd' to a list of characters and name this list chars1. b) Write a Python expression that will return the length of chars1. c) Write a Python expression that will return True if the character 'z' belongs to chars1 and False otherwise. d) Write a Python statement to convert the string 'apple' to a list of characters and name this list chars2. e) Write a Python statement that will concatenate chars1 and chars2 and name the new list chars3.
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
a The following Python statement converts the string abcd to a list ... View full answer
Get step-by-step solutions from verified subject matter experts
