# 練習用フォーマット(大野さん用) ###### tags: `Python` ## スライド練習1 :::info code: ```python= import random print(list(range(10))) rand_number = random.randrange(10) print(rand_number) print(list(range(1,10))) rand_number = random.randrange(1,10) print(rand_number) print(list(range(1,10,2))) rand_number = random.randrange(1,10,2) print(rand_number) ``` 結果: ![](https://i.imgur.com/ZEJi5o3.png) ::: ## スライド練習2 :::info code: ```python= import random rand_number = random.randint(1,100) print(rand_number) ``` 結果: ![](https://i.imgur.com/kESOMyF.png) ::: ## スライド練習3 :::info code: ```python= ``` 結果: ::: ## スライド練習4 :::info code: ```python= ``` 結果: :::