nowcoder-python/NP/NP5.py

17 lines
297 B
Python

#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/10/25
# @file NP5.py
def solution():
s1 = "Hello World!"
s2 = "Hello Nowcoder!"
print(s1)
print(s2)
if __name__ == "__main__":
solution()
name = input()
print("I am %s and I am studying Python in Nowcoder!" % name)