题解 | #格式化输出(一)#
格式化输出(一)
https://www.nowcoder.com/practice/fe82dc48f4f04b2397a85fb1bdbe34a2
from os import name def show_name(name): if name == 'Niuniu': print("I am Niuniu and I am studying Python in Nowcoder!") elif name == "Niumei": print("I am Niumei and I am studying Python in Nowcoder!") else: print("I am Niu Ke Le and I am studying Python in Nowcoder!") user_input = input("") show_name(user_input)