Computer Science, asked by pnag75250, 4 months ago

Type C : Programming Practice/Knowledge based Questions
1. Write a program to increment the elements of a list with a number.​

Answers

Answered by valeriy69
0

incrementer = 69

my_list = [9, 8, 7, 6, 5, 4, 3, 2, 1]

print([n + incrementer for n in my_list])

\small\mathsf\color{lightgreen}useful?\: \color{white}\mapsto\: \color{orange}brainliest

Similar questions