Summary of daily procedures

1. Store the input string in a list and convert the characters to int form

A = map(int,raw_input().strip().split(' '))

2. Convert the list to string output, separated by spaces

    

re = [1,2,3]

r = " ".join(map(str, re))
print r
Output: 1 2 3

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325564520&siteId=291194637