james-l
3/3/2017 - 10:38 PM

one line if in python python一行if

one line if in python python一行if

num = 10 if True else 5
print(num)