Computer Science, asked by dhruvgupta9533p7wkx0, 9 months ago

write a program that generates the following output 10,40,9 assign value 5 to a variables using assignment operator (=)multiplie it with 4 to generate 40 and subtract 31 to generate 9
koi batado pls​

Answers

Answered by harsh5599
2

Hii there !!

See the solution in python3 below :-

Num = 5

Num = 5 * 2

print(Num) # output = 10

Num = Num * 4

print(Num) # output = 40

Num = Num - 31

print(Num) # output = 9

Similar questions