Dharmendra

Dharmendra

Python program to convert miles to kilometers

Python program to convert miles to kilometers In this example, we will learn how to convert Miles to kilometers. miles=float(input(‘ Enter any number in miles: ‘)) # 1miles=1.60934 kmkilometers = miles * 1.60934print(‘{0} miles is equal to {1} kilometers’.format(miles,kilometers) ) Output…

What can you do with informatics practices

 What can you do with informatics practices? If you choose Informatics Practices as an elective subject in 11th and 12th then you will get a decent knowledge of programming language and software. You will know how software is created and…

Python program to swap two variables

Python program to swap two variables     Example 1:- In this example, we will swap the values of two variables with each other. We will use a third variable to temporarily store the value.   a=int(input(‘Enter any number: ‘))b=int(input(‘Enter…