One Input From User:
a=input()
print(a)
Using split():
x,y,z =input().split()
print(x,y,z)
Using map function:
x=list(map(int,input().split()))
print(*x)
Another method :
x=[int(x) for x in input().split() ]
No comments:
Post a Comment