May-28-2020, 06:20 AM
You should have a 'plan' (or 'algorithm') to solve the problem. First in spoken language, then translated into Python.
1. Get random number from range
2. Get random 4 letters (in sorted order?)
3. Combine them together
There is no clarity, whether result should be sorted or only letters part.
Keep eye on datatypes while combining (number is integer and letters are string).
1. Get random number from range
2. Get random 4 letters (in sorted order?)
3. Combine them together
There is no clarity, whether result should be sorted or only letters part.
Keep eye on datatypes while combining (number is integer and letters are string).
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.