Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatgpt #439

Open
Tracked by #442 ...
Prince997025 opened this issue Jun 23, 2024 · 1 comment
Open
Tracked by #442 ...

Chatgpt #439

Prince997025 opened this issue Jun 23, 2024 · 1 comment

Comments

@Prince997025
Copy link

No description provided.

@Prince997025
Copy link
Author

import random

def colour_prediction_game():
colours = ['red', 'green']
chosen_colour = random.choice(colours)
return chosen_colour

result = colour_prediction_game()
print("The predicted colour is:", result)

This was referenced Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant