from random import randint print("サイコロを振ります!") number = randint(1, 6) print(f"{number}が出ました!") # プログラム5-10(from 〜 import 〜)