The following code will run endless on your py run software. And u can change the name of “*” as ur friend which u want to him/her see the result of the code.
!/usr/bin/env python
coding=utf-8
My heart will go on and on.
Author: Morgan_fang1
Date:Aug 17,2018
a=1
while (a>0):
print ‘I love * for left life time:’,a
a+=1
print ‘I am cladding.’
本文分享了一段用Python编写的简单程序代码,该程序利用无限循环表达了一份永恒不变的爱情宣言。作者通过个性化的编程方式传达了深情的信息,并且演示了如何通过修改代码中的特定字符串来定制属于自己的爱情告白。
1547

被折叠的 条评论
为什么被折叠?



