Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the difference between random.choice and random.randint
python
2 Votes
3 Answers
5th Sep 2018, 7:55 AM
Akash
I don't know how use the random.randint , help
codecoach
modules
-2 Votes
1 Answer
26th Aug 2021, 9:50 PM
Gaby
How to make multiple different random numbers
random.randint
1 Vote
2 Answers
19th Nov 2018, 12:56 AM
Ethan Combs
import random for i in range (5): values = random.randint (1,6) print(value)
import
random
1 Vote
4 Answers
10th Nov 2020, 9:17 AM
Dino Gupta
Is there a way to generate random letters in python (like how we use random.randint to generate random numbers)?
letters
python
random
0 Votes
2 Answers
4th Dec 2019, 12:44 PM
Simply Code
How can i put a random num gen in a function so i don't have to keep typing out random.randint for every variable.
function
generators
number
random
variable
1 Vote
4 Answers
30th May 2019, 11:16 AM
cody stephens
import random for i in range(5): value = random.randint(1, 6) print(value) 1.Why we use import random ? 2.why we write value variable instead of i ? 3.why we include random.randint ? 4.what is randint ?
python
0 Votes
2 Answers
1st Aug 2016, 11:03 AM
Rupam Das
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
SQL
3 Votes
HTML/CSS questions
0 Votes
IMAGE
0 Votes
What Does Pseudo Elements Mean.
2 Votes
Html
1 Votes
How can I continue with my goal if I lost all my lives?
0 Votes
How to learn css and html
0 Votes
Certificate Problem
0 Votes
Find courses
0 Votes
member initializer list : order of evaluation
0 Votes