📣 黑五网一特惠|VIP一年通行证5折,蓝莓、Offer多多同步特惠
查看: 1126| 回复: 2
跳转到指定楼层
上一主题 下一主题
收起左侧

编了一个好无聊的python程序,好无聊的一个故事

🔗
匿名用户-DSKHL  2020-3-8 20:01:54 |倒序浏览

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
本帖最后由 匿名 于 2020-3-8 20:37 编辑

今天大脑过热后写的一个小故事,哈哈哈 还是蛮无聊的~
把四个变量改改就好了~这次躺枪的都是高中同学~

character_name1="hyd"
character_name2="ph"
character_name3="zzw"
character_name4="hb"

print("Once upon a time, there was a beautiful little girl named "+character_name3+". She had long black silky hair and fair toned face. She smiled like a blooming peony.")
print("What an unfortunate girl? Oh you ask why? She had a vicious stepmother: "+character_name2+".")
print(character_name2+" had gray hair and slit eyes. She was as skinny as a chopstick.")
print("As the badass in this story. Her powerful catchphrase was: \"Oh! I just fart!\" I feel really bad for "+ character_name3+", because, really, "+character_name2+" always cut the cheese.")
print("As to the smell... It smelt horrible!")
print("But as every princess story has a pretty prince. This story also has one. "+ character_name1+", our gorgeous prince, who outshone every male in this country! He had the longest legs, each is 2 meters long, just like what girls were dreaming of about a man!")
print("The artsy pretty prince went to save our princess. He rode his white horse and rushed to the palace where accommodated our princess and her stepmother!")
print("Oh! The first time he saw her! He fell in love!")
print("To be more exact. The first time he smelt her...Yes, it was the smell! Our prince "+character_name1+" fell for "+character_name2+".")
print("The most romantic thing "+character_name2+" had heard from a guy was: \"My favorite smell is the aroma of blue cheese! And you smell exactly like that!\"")
print(character_name2+" and "+character_name1+"had a huge wedding reception, and lived happily forever! How about our princess? She barfed for 10 years! Poor princess.")
print("How about "+character_name4 +"? You know what, this story is none of her business!")
print("FIN")

上一篇:大使馆什么时候才能重开
下一篇:2020 fall 的UNCC 機械交換生~
推荐
wilsonzyx 2020-3-8 22:11:57 | 只看该作者
全局:
那一个无聊的回复:
lz了解下python3 f-string?

name = "LZ"
print(f"Hello {name}!")
回复

使用道具 举报

🔗
ltph17 2020-3-8 22:36:21 | 只看该作者
全局:
name1 = input("Name one of your friends who loves telling daddy's jokes: ")
name2 = input("Name one of your friends who loves cheese: ")
name3 = input("Name one of your friends who loves having cilantro: ")
name4 = input("Name one of your friends who goes to the bathroom frequently: ")
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表