Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python roll dice 100 times

import random

roll = [random.randint(1,6) for x in range(100)]

print(roll)
Comment

PREVIOUS NEXT
Code Example
Python :: python string list to float 
Python :: python remove empty folders 
Python :: trim text python 
Python :: first 2 terms 
Python :: python for looop array value and index 
Python :: how to make otp generator in python 
Python :: how to display equation in tkinter 
Python :: pygame how to change a pictures hue 
Python :: pass argument to a py file 
Python :: remove minimize and maximize and cancle button python pyqt5 
Python :: python read dictionary from file 
Python :: get all type of image in folder python 
Python :: get rid of axes numbers matplotlib 
Python :: try datetime python 
Python :: wxpython make window stay on top 
Python :: join two set in python 
Python :: printing with colors 
Python :: matplotlib grid thickness 
Python :: how to replace nan with 0 in pandas 
Python :: pyttsx3 speech to mp3 
Python :: which python mac 
Python :: day difference between two dates in python 
Python :: could not find runder jupyter notebook 
Python :: udmi2 roblox 
Python :: remove special characters from dictionary python 
Python :: python check if number is complex 
Python :: how to print items in a list in a single line python 
Python :: datafram from one date to another 
Python :: numpy get specified colums 
Python :: python create hash from string 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =