题解 | #程序员节#

程序员节

https://www.nowcoder.com/practice/14c705cc5ee249f98894e9ec9f8d9f29

users_list = [ 'Niuniu' ,'Niumei', 'Niu Ke Le' ]
for i in users_list:
    print( 'Hi, %s! Welcome to Nowcoder!'%i )
print("Happy Programmers' Day to everyone!")
#哪位大佬能帮我瞧瞧,为什么下面的这个代码报错运行不了哇,谢谢你
user_list=[ 'Niuniu','Niumei','Niu Ke Le']
for index in range(len(user_list)):
    print('Hi,%s! Welcome to Nowcoder!'%user_list[index])
print("Happy Programmers' Day to everyone!")

全部评论

相关推荐

评论
点赞
收藏
分享
牛客网
牛客企业服务