当前位置:网站首页>Valentine's Day confession code
Valentine's Day confession code
2022-07-04 12:48:00 【Love you, Bai~】
1、 A euphemistic confession
Python Code :
import string
l = string.ascii_letters
s = []
s.append(l[34])
s.append(l[11])
s.append(l[14])
s.append(l[21])
s.append(l[4])
s.append(l[24])
s.append(l[14])
s.append(l[20])
s.insert(1, " ")
s.insert(6, " ")
string = "".join(s)
print(string) # I love you
The numbers below correspond to ASCII code :
# 73、76、79、86、69、85 Corresponding ASCII
print(chr(73)) # I
print(chr(76)) # L
print(chr(79)) # O
print(chr(86)) # V
print(chr(69)) # E
print(chr(85)) # U
Python One line of code to implement the heart shape :
print('\n'.join([''.join([('Love'[(x-y) % len('Love')] if ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 <= 0 else ' ') for x in range(-30, 30)]) for y in range(30, -30, -1)]))
design sketch :
Press ctrl+f Key and type 9 :
99669999996669999996699666699666999966699666699
99699999999699999999699666699669966996699666699
99669999999999999996699666699699666699699666699
99666699999999999966666999966699666699699666699
99666666999999996666666699666699666699699666699
99666666669999666666666699666669966996699666699
99666666666996666666666699666666999966669999996
The renderings are as follows :
1、 Directly ordered
Until death , Love you a little more every day :
Love you never stop :
I want people all over the world to know that I love you :
2、 Cultural
It's a little rusty , One day apart , It's like autumn :
You love or don't love me , Love is there , No increase or decrease :
Give you all the temperature on my hand , For your happy face :
I'll see you tomorrow , Stole my whole night's sleep :
To find you , I have the whole world :
3、 except " Okay ", There is no better choice
It's on it VB Code , We can use the following JS Code implementation is more general :
Source code :https://c.runoob.com/codedemo/5656
Here is the code for the mobile terminal , Save the following two-dimensional code and send it to the one you like :
Source code :https://c.runoob.com/codedemo/5657
Web address :https://www.runoob.com/try/demo_source/dylm.html
Refer to the website : The seventh evening of the seventh moon - Programmers say code
边栏推荐
- priority_ queue
- 面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读
- 记一次 Showing Recent Errors Only Command /bin/sh failed with exit code 1 问题
- 七、软件包管理
- 2022, 6G is heating up
- Daily Mathematics Series 57: February 26
- [Android kotlin] lambda return statement and anonymous function
- MySQL advanced (Advanced) SQL statement
- MySQL performance optimization index
- Global and Chinese market of cardiac monitoring 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
The detailed installation process of Ninja security penetration system (Ninjitsu OS V3). Both old and new VM versions can be installed through personal testing, with download sources
游戏启动后提示安装HMS Core,点击取消,未再次提示安装HMS Core(初始化失败返回907135003)
Fundamentals of container technology
Transformer principle and code elaboration (pytorch)
[notes] in depth explanation of assets, resources and assetbundles
Complementary knowledge of auto encoder
LVS load balancing cluster deployment - Dr direct routing mode
C语言数组
[Android kotlin] lambda return statement and anonymous function
A treasure open source software, cross platform terminal artifact tabby
随机推荐
Introduction to random and threadlocalrandom analysis
Implementation mode and technical principle of MT4 cross platform merchandising system (API merchandising, EA merchandising, nj4x Merchandising)
How to use "bottom logic" to see the cards in the world?
从0到1建设智能灰度数据体系:以vivo游戏中心为例
轻松玩转三子棋
MPLS experiment
[data clustering] section 3 of Chapter 4: DBSCAN performance analysis, advantages and disadvantages, and parameter selection methods
Iterm tab switching order
[leetcode] 96 and 95 (how to calculate all legal BST)
C语言:求字符串的长度
分布式事务相关概念与理论
Detailed explanation of mt4api documentary and foreign exchange API documentary interfaces
queue
Uva536 binary tree reconstruction tree recovery
Flet教程之 按钮控件 ElevatedButton入门(教程含源码)
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
17.内存分区与分页
Clockwise rotation method of event arrangement -- PHP implementation
Concepts and theories related to distributed transactions
Global and Chinese market of cardiac monitoring 2022-2028: Research Report on technology, participants, trends, market size and share