How do I make this actually give me an answer? I want it to output a sum, something like " 17-5=12 "
import random no1 =(random.randint(1,20)) function =(random.choice("+-*")) no2 =(random.randint(1,20)) answer =no2,function,no1 print(answer)
Aucun commentaire:
Enregistrer un commentaire