News

Python program to swap two variables in single line in python python program to swap two variables in single linea = 5b = 10a, b = a, bprint "swapped values of a and b are", a, boutputswapped values ...
To comment out a line in Python, we use the # symbol. Start any line with that symbol and it will be treated as a comment. # This line prints the text Hello, Python in the console.