Computer Science, asked by shardabhumika232, 6 months ago

Consider the two variable a and b. write a program in python
to assign value 5 to variable a and value 6 to variable b. then
interchange and display the value of a and b.

Answers

Answered by jai696
3

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

a = 5

b = 6

a, b = b, a

print(a, b)

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions