Think before you speak, read before you think.
—
by
results = [‘1’, ‘2’, ‘3’] 变为 results = [1, 2, 3]
使用
results = map(int, results)
反过来转换使用
results = map(str, results)
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Δ
Leave a Reply