CBSE Class 11 Computer Science Question 95 of 106

Python Fundamentals — Question 4

Back to all questions
4
Question

Question 4

Modify above program so as to print output as 5@10@9.

Solution
a = 5
print(a, end='@')
a = a * 2
print(a, end='@')
a = a - 1
print(a)
Output
5@10@9
Answer