Question: How we can create array(python) In this exercise, you will need to add numbers and strings to the correct lists using theappend list method/function. You
How we can create array(python)
In this exercise, you will need to add numbers and strings to the correct lists using the"append" list method/function. You must add the numbers 1,2, and 3 to the "numbers" list, and the words 'hello' and 'world' to the strings variable Finally write codes that print each items in numbers array and in strings array. Note that the index is zero-based, so if you want to access the second item in the list, its index will be 1.
numbers = []
strings = []
Submit the scripts, Screenshot of the scripts, screenshot of the outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
