小编pro*_*lob的帖子

每一行我都得到一个无

我正在编写一个小程序,当我运行它时,我得到一个无.这是一个例子:

    print('Welcome to CTFTOOL')
    print('Created by P.R.B.')
    print('Choose your option:')
    inp1 = input(print('''
    1)Auto Caesar Chiper.
    2)Binary-Decimal & Decimal-Binary.'''))
Run Code Online (Sandbox Code Playgroud)

在第四次打印后,我得到一个无,这与每个要求输入的打印件一起.

    if inp1 == '1':
        text1 = input(print('Input the text you want to decode:\n'))
        autocaesarchiper(text1)
Run Code Online (Sandbox Code Playgroud)

在autocaesarchipher()函数运行之前,我得到另一个None.我一直在寻找另一个运行良好的代码,但我还没有看到问题.谢谢 :)

python python-3.x

1
推荐指数
2
解决办法
114
查看次数

标签 统计

python ×1

python-3.x ×1