Subash Chandran posted: "import random print(random.randint(3, 7)) #Prints a random number between 3 and 7 array = [cars, bananas, jet] print(random.choice(array)) #Prints one of the values in the array at random"
|

Subash Chandran posted: "import random print(random.randint(3, 7)) #Prints a random number between 3 and 7 array = [cars, bananas, jet] print(random.choice(array)) #Prints one of the values in the array at random"
|
Write a newfangled code fragment at an earlier stage to use it. Then call another method and make sure their input is the correct one. The s...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.