+ 1
input().strip().split(' ')
what does input().strip().split(' ') in python means??
1 Answer
+ 5
input() - takes input from user
strip() - deletes white spaces from the begin and the end of input
split(' ') - splits input into elements of an list with (' ') being as separator.