random

Introduction

Syntax

Example

Simplest example

from random import randrange print(randrange(10))

7

Article author: Andrei Olegovich