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
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