money = int(input('请输入您的金额:')) seat = int(input('有无座位?(0无,1有)')) if money > 0: print('欢迎上车') if seat == 1: print('请坐') else: print('稍等') else: print('有钱再坐车')