Getting some unexpected “None” in output on Python in beginner function recursion exercise

后端 未结 0 1132
深忆病人
深忆病人 2021-01-07 06:39

i wrote this code

def is_integer():
    inp = input("Insert an integer ")
    try:
        inp = int(inp),
        print("Ok!")
    except         


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