摘要: ages = 20 ticketPrice = 20 if ages >= 16 else 10 count = 8 print( count if count % 10 == 0 else "不能被10整除") 成立条件时执行的语句 if 条件 else 不成立时执行的语句 2020-06-19 阅读全文
posted @ 2020-06-19 23:52 Hany47315 阅读(292) 评论(0) 推荐(0)
摘要: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return "Hello Flask" @app.route('/index') def index(): return "Hello 阅读全文
posted @ 2020-06-19 10:21 Hany47315 阅读(124) 评论(0) 推荐(0)