nowcoder-python/NP/NP6.py

17 lines
262 B
Python
Raw Normal View History

2022-10-25 13:20:18 +08:00
#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/10/25
# @file NP6.py
2022-10-26 10:02:04 +08:00
def solution():
s1 = "Hello World!"
s2 = "Hello Nowcoder!"
print(s1)
print(s2)
if __name__ == "__main__":
solution()
2022-10-25 13:20:18 +08:00
num = float(input())
print("%0.2f" % num)