📜  如何在python代码示例中的一行中输入列表

📅  最后修改于: 2022-03-11 14:47:11.841000             🧑  作者: Mango

代码示例2
# Reads two numbers from input and typecasts them to int using 
# list comprehension 
x, y = [int(x) for x in input().split()]