print()

print(object(s), sep=separator, end=end, file=file, flush=flush)

end parameter

sep parameter

input()

name = input ("Enter name :") 
print(name) 
print ("type of name", type(name))

num = int(input ("Enter number :"))
print(num) 
print ("type of num", type(num))

Output :

Enter your name: saif
'saif' 
type of name <class 'str'>
Enter number : 10
10
type of num <class 'int'>

Taking Space Separated Input

x, y = input().split()
print(x, y)

Find Area Of Rectangle

Taking Name and Age of The Person

Swapping Two Numbers

Simple Interest