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 16:30
Primary tech skills are skills that are necessary for success in online education
Answers: 3
question
Computers and Technology, 22.06.2019 22:40
Write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard). required: debug the disassembly code and note down the address and memory information.
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
How are we able to create photographs differently than 100 years ago? explain your answer in relation to your photograph you selected.
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
Questions on the website: 13722367