#比较运算
py_class=int(input("请输入python成绩")) #定义,输入并储存python成绩
eng_class=int(input("请输入英语成绩")) #定义,输入并储存english成绩
cpp_class=int(input("请输入c++成绩")) #定义,输入并储存c++成绩

#输出三个变量的值

print("python = ",str(py_class) + "\n英语 = ",str(eng_class) + "\nc++ = ",str(py_class) + "\n")
print("python < english的结果:",str(py_class < eng_class))
print("python > english的结果:",str(py_class > eng_class))
print("python == english的结果:",str(py_class == eng_class))
print("python != english的结果:",str(py_class != eng_class))
print("python <= english的结果:",str(py_class <= eng_class))
print("python >= c++的结果:",str(py_class >= cpp_class))
print("\n3009")python第二节课作业11题(3)问_c++