Question: QUESTION TWO Write a Python program to create a variable X, and assign to it numbers from 0 to 20 using the range method. 1.
QUESTION TWO Write a Python program to create a variable X, and assign to it numbers from 0 to 20 using the range method. 1. Print out all the variable X elements. 2. Print out the fifth element in variable X 3. Print out 25 from the variable X. 4. Print out -10 from the variable X. 5. Print out the second element in the variable X three times
Step by Step Solution
There are 3 Steps involved in it
To address the tasks in your question we can use Python to handle the list operations Heres the code ... View full answer
Get step-by-step solutions from verified subject matter experts
