How do I make my code randomly pick from either a digit or a number? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I make my code randomly pick from either a digit or a number?

https://code.sololearn.com/cqgcYRtTSZ8D/?ref=app

12th Oct 2021, 1:24 AM
ⒾⓈⒶⒶⒸ ⒷⒺⒶⒸⒽ
2 Answers
0
Pick = (random value [0,1]) ? Digit : Number
12th Oct 2021, 1:33 AM
zexu knub
zexu knub - avatar
0
Idk, but aren't a digit and a number the same thing...?
12th Oct 2021, 2:13 AM
Chloe
Chloe - avatar