Page 1 of 1

Go to your main.py file. On the first line, create the following array: Next, print the array numbers and fetch the user

Posted: Fri Jul 01, 2022 5:52 am
by answerhappygod
Go to your main.py file.
On the first line, create the following array:
Next, print the array numbers and fetch the userinput count for the number of elements to fetch from thearray.
Finally, print out the slice of the array from the first elementto the nth element.
Then, run the script by using the python3main.py command