Creating a random generator function in a number guessing game #21467
-
Hello there! I’m trying to create a random number generator within GuessNumber such that it relies on self.mn and self.mx to reduce human error when changing the limits of the random generator function. I’m not quite sure how to integrate it into the class…
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can just initialize |
Beta Was this translation helpful? Give feedback.
-
Solved it Thanks!
|
Beta Was this translation helpful? Give feedback.
@airtower-luna
Solved it
Thanks!