Alternatives to the code below? I am very new to coding

后端 未结 0 1016
暖寄归人
暖寄归人 2021-01-14 08:17
import math
i = (2)
max = (2048)
num = (2)
while i < max:
    print(int(i))
    i *= num
    if i > max:
        i /= num
        break
if i == max:
    while          


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