首页 新闻 会员 周边

求助:为什么最后会输出一个None,怎样才能不输出Nnoe?

0
[已关闭问题] 关闭于 2017-11-15 22:34

#!/usr/bin/evn python
#-*-coding=utf-8 -*-

def hello_world():
     print 'hello world!'

def time_print(n):
    for i in range(n):
        hello_world()

if __name__=='__main__':
    a=int(raw_input())
    print time_print(a)

 

秋刀鱼Q的主页 秋刀鱼Q | 初学一级 | 园豆:191
提问于:2017-11-05 20:53
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册