Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
newlist = [x for x in range(10) if x < 5] print(newlist)
[0, 1, 2, 3, 4]