Write the Python statements to do the following.
a. Accept an integer value from the user in variable marks
b. Display the output of the variable num that has already been declared.
c. Assign the product of numbers a and b in the number c.
d. Add a comment “This is a sample Python program” in the program.
Answers
Answered by
1
for a
A = 10
for b
print(A)
for c
C = A * B
for d
# this is a sample python program
hope its helpfull
Similar questions