今天简单练习一下python之后要用来机器学习

从hackerrenk稍稍练习

if __name__ == \'__main__\':
n = int(input().strip())
if n % 2 != 0:
print("Weird")
elif 2 <= n <= 5:
print("Not Weird")
elif 6 <= n <= 20:
print("Weird")
elif 20 < n:
print("Not Weird")

if __name__ == \'__main__\':
a = int(input())
b = int(input())
c = a//b
d = a/b
print(c)
print(d)

还有跑去看bilibili 20分钟快速学python