AIDAN GREEN
@AIDANGREEN6
Pick 2 colors! Any two colors!
Wait, not that one. Any 2 colors that are NORMAL colors. Like purple, red, orange, green, blue, lime, yellow, turquoiseBasic (beta)
I am trying to make a program in python that needs to use the random function. All the other parts of the program were already done and working. I mad
CookieSnowOwl Probably because you have a function lets say x():
and in it you have the word
x():
#text
__x()
and that is called a recursive function. To avoid losing your computer and getting mad, there is a preventing thing to stop it from "recursing" too much. you don't need a package. Just say
import random
x = random.randint(1, 100)
print(x)
that's done
or if ur doing
def y():
__x = random.randint(1, 100)
__print(x)
__y()
Then that will have a recursion error.2 years ago
Coder100 The random library is a native library that is included in python, you don't need to 'install' it.
2 years ago
This is my first project in python (I just started learning python yesterday. I'm a fast learner.). It's fairly simple, but still useful. You type in
Python
Ask a question, and the magic 8 ball shall answer. Or, it might tell you why it can't tell you, why it does not want to answer you, how it does not neBasic (beta)