Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
How to make the module randome to chose between inputs?
2 Antworten
0
import random
a = input('first input: ')
b = input('second input: ')
choice = random.choice([a, b])
0
Thanks