Making a Python Script that creates its own variables

前端 未结 0 1162
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-22 09:11

I need to make a program that can make ¨infinite¨ variables. For example:

while True:
   number = 0000
   number += 1
   new variable "a"+number = 1
            


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