0
Your ideas to improve such a simple code, please?
2 Respostas
+ 4
You don't need the first "time" assignation, also I would import the necessary modules at the beginning of the program
I would make the program as this:
https://code.sololearn.com/cx6YzFqW1biN/?ref=app
+ 4
This is about as short as you can make it
from random import choice as c
t = input()
print(c(("good", "bad")))