How can i assign the random output of print to a variable. I want to assign the same random out put to a variable

前端 未结 0 621
自闭症患者
自闭症患者 2020-11-29 16:34

Im using the code random.randint to get a random number as output, but i have to assign the same output to a variable.

import random
x=int(input(\'Choose the          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题