# ##第七次作业
# #1
# b = int(input("输入1将人民币转换成美元或输入0将美元转换成人民币:"))
# if b==0:
# dollar=int(input("输入美元金额:"))
# rmb=dollar*7.23
# print(rmb,"元")
# elif b ==1:
# rmb=int(input("请输入人民币:"))
# dollar=rmb/7.23
# print(dollar,"美元")
# else:
# print("输入错误")
# #2
# # y=-0.5x+100
# x=int(input("请输入x:"))
# y=int(input("请输入y:"))
# if y>=0 and y<=100 and x>=0 and x<=200 and y/(200-x)<=100/200:
# print("坐标在三角形内")
# else:
# print("坐标不在三角形内")
# #3
# count=0
# for i in range(100,201):
# if i%5==0 or i%6==0 and not i%30==0:
# print(i,end=" ")
# count+=1
# if count%10==0:
# print()
# #4
# import math
# for i in range(1,9):
# for k in range(1,9-i):
# print(" ",end="")
# for j in range(-(i-1),i):
# print("$4.0f"%2**(math.fabs(math.fabs(j)-i+1)),end="")
# print()