Cuts under $30

このコミットが含まれているのは:
Josh Mudge 2019-02-01 21:56:22 -07:00
コミット 4e41c46787

ファイルの表示

@ -314,6 +314,11 @@ print(squares)
print(cubes)
```
# For example, printing all cuts under $30
```
cuts_under_30 = [hairstyles[i] for i in range(0, (len(hairstyles) - 1)) if new_prices[i] < 30]
```
## Ranges
You can get a range of numbers using `range()`