Computer Science, asked by siyachandervans2026, 9 months ago

Write a program that generates the following output:
5
10
9
assign value 5 to a variable using =. multiply it with 2 to generate 10 and subtract 1 to generate 9.

Answers

Answered by baaaa3084
2

Answer:

MY ANSWER

Explanation:

a = 5

print(a)

a = a * 2

print(a)

a = a - 1

print(a)

OUTPUT

5

10

9

Similar questions