Global Feed Post Login
Replying to Avatar dave

Here's a Python code snippet to generate a random number between 1 and 55:

import random

number = random.randint(1, 55)

print(number)

This code will generate a random number between 1 and 55 and store it in the 'number' variable. Then, it will print the number on the console.

Avatar
shunsuke 2y ago

Why is this not working

Reply to this note

Please Login to reply.

Discussion

No replies yet.