1. randrange. 1.1 Generates random integers between 0 – 9 #!/usr/bin/python import random for i in range(10): print(random.randrange(10)) # 0-9.
確定! 回上一頁