我的代码如下: k=input("输入星期几:") t=input("输入时间点:") if(k==2 and t>=10 and t<=11 ) or ( k==5 and t>=14 and t<=15): print("华为Mate40打折日") else: print("不打折日") 无论我输入什么时间都是不打折请问哪里有问题?
wsmxa9864的博客ceng_shu = int(input("请输入金字塔层数"))#用input来输入一个变量。for i in range(1, ceng_shu + 1):#用循环来实现金字塔的层数。for k in range(1,2 * i ):#实现*的打印。print(" ")#这里需要在每一行结束换行...