From b2d5bfe1d453ff1e1929e373451b84ac70cc7513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 25 Dec 2018 19:41:35 +0100 Subject: [PATCH] Random --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 67e3356..5219337 100644 --- a/README.md +++ b/README.md @@ -361,11 +361,11 @@ float('inf'), float('nan') ### Random ```python -import random - = random.random() - = random.randint(from_inclusive, to_inclusive) - = random.choice() -random.shuffle() +from random import random, randint, choice, shuffle + = random() + = randint(from_inclusive, to_inclusive) + = choice() +shuffle() ```