摘要:
对比 1 """ 2 检查特殊元素 3 """ 4 requested_toppings=[] 5 if requested_toppings: 6 if requested_topping == 'green peppers': 7 print("Sorry,we are out of green 阅读全文
摘要:
if-elif-else的条件测试使用: 1 """ 2 人生的不同阶段 3 """ 4 age = int(input("Enter your age:")) 5 while age != 0: 6 if age < 2: 7 print("You are baby!") 8 elif age > 阅读全文
摘要:
名人名言,用字典最好 1 name1 = "winston churchill" 2 zen1 = "The farther backward you can look,the farther forward you will see." 3 print(f'{name1.title()} once 阅读全文