No products in the cart.

Write a programme to enter two …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a programme to enter two value in different variable and swipe them
  • 3 answers

Pratishtha Shree 1 year, 1 month ago

Here's you program in python: a=24 b=20 a= int(input("Enter value of x: ")) b = int(input("Enter value of y: ")) c=a a=b b=c print("The value a after swapping=" a) print("The value a after swapping=" b)

Pratishtha Shree 1 year, 1 month ago

Here's you program in python: a=24 b=20 a= int(input("Enter value of x: ")) b = int(input("Enter value of y: ")) c=a a=b b=c print("The value a after swapping=" a) print("The value a after swapping=" b)

Pratishtha Shree 1 year, 1 month ago

Firstly u've to enter two values in different variable like a=24 and b=20 then take another blank variable so that it'll be easy for u to swipe them then place tha value or a in c and then take the value b and place it in variable a so, a=20 then do the same with b now b is a blank variable so took the value of c and place it in variable b now b=24... a=20 and b=24
http://mycbseguide.com/examin8/

Related Questions

what is palindrone
  • 1 answers
What is the machine leaning
  • 1 answers
Case study based question
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App