您好,欢迎访问代理记账网站
  • 价格透明
  • 信息保密
  • 进度掌控
  • 售后无忧

python-字符串练习1

# coding:utf-8

w1 = '周一'
w2 = '周二'
w3 = '周三'
w4 = '周四'
w5 = '周五'
active = "饭店活动介绍"

gift1 = "麻辣小龙虾"
gift1_price = 23
for_gift1_price = '9.80000'
for_gift1 = '罗宋汤'



gift2 = "宫保鸡丁"
gift2_price = 12
for_gift2 = '紫菜蛋花汤'

gift3 = "水煮肉片"
gift3_price = 32
for_gift3 = '西湖牛肉羹'

gift4 = "果儿拌菜"
gift4_price = 19
for_gift4 = '番茄鸡蛋汤'

gift5 = "小鸡炖蘑菇"
gift5_price = 33
for_gift5 = '米酒小汤碗'

info = """小北饭店不仅每天有特价,为了回馈新老客户到店送价值29.9的精美礼品,凭结账小票可进行抽奖
一等奖:价值一万元欧洲游
二等奖:价值388的豆浆机
三等奖:价值200的生活大礼包
"""

print(f'{w1}特价{gift1} {gift1_price}元,赠送一份价值{for_gift1_price}的{for_gift1}')
print(f'{w2}特价{gift2} {gift2_price}元,赠送一份价值{for_gift1_price}的{for_gift2}')
print(f'{w3}特价{gift3} {gift3_price}元,赠送一份价值{for_gift1_price}的{for_gift3}')
print(f'{w4}特价{gift4} {gift4_price}元,赠送一份价值{for_gift1_price}的{for_gift4}')
print(f'{w5}特价{gift5} {gift5_price}元,赠送一份价值{for_gift1_price}的{for_gift5}')
print('*'*60)
print(info)

分享:

低价透明

统一报价,无隐形消费

金牌服务

一对一专属顾问7*24小时金牌服务

信息保密

个人信息安全有保障

售后无忧

服务出问题客服经理全程跟进