subject

Write a python program to do the following:
(a) use the range function to generate this sequence of integers: 5, 9, 13, 17 and 21. save the numbers in a list. display the list.
(b) use a for loop to display each element in a separate line.
(c) use the range function to generate this sequence of integers: 26, 19, 12 and 5. save the numbers in a list. display the list.
(d) use a for loop to calculate the total of the elements in the second list. display the total.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
Emma is using an artificial intelligence system, which contains information on botany, to identify a type of plant from an image. what type of ai is emma using?
Answers: 1
question
Computers and Technology, 25.06.2019 00:30
Which type of cell references are locked and not automatically updated when it’s copied a)formula b)relative c)absolute d)worksheet
Answers: 1
You know the right answer?
Write a python program to do the following:
(a) use the range function to generate this sequ...
Questions
question
Mathematics, 12.02.2021 01:10
question
Mathematics, 12.02.2021 01:10
question
Mathematics, 12.02.2021 01:10
question
Mathematics, 12.02.2021 01:10
Questions on the website: 13722367