tubeshowcase●1,194,391 videosβ™‘ My collection 0
← Learn to Code

Learn to Code04:05

Python random numbers 🎲

Bro Code β†—

From the creator

Python random numbers module tutorial explained #python #random #numbers import random x = random.randint(1,6) y = random.random() myList = ['rock','paper','scissors'] z = random.choice(myList) cards = [1,2,3,4,5,6,7,8,9,"J","Q","K","A"] random.shuffle(cards) print(cards) –––––––––––––––––––––––––––––– Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi Creative Commons β€” Attribution-ShareAlike 3.0 Unportedβ€” CC BY-SA 3.0 Free Download / Stream: http://bit.ly/2JnDfCE Music promoted by Audio Library https://youtu.be/tDexBj46oNI ––––––––––––––––––––––––––––––

Published 2020-11-30 Β· Watch on YouTube β†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code