Avatar ·

如何为每次 Print 输出编号?

📁 功能, python, 机器人

我有一个在运行期间输出到终端的函数:

   print ( """ )  

我需要确保每个新的 print 都被编号:

   print ( "[1] ..." )