Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Programming Diversions
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Jeanne Boyarsky
Ron McLeod
Tim Cooke
Sheriffs:
Devaka Cooray
paul wheaton
Mark Herschberg
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Frits Walraven
Jj Roberts
Bartenders:
Carey Brown
salvin francis
Piet Souris
Forum:
Programming Diversions
!!!!!!
Happy valentines day
Randy Tong
Rancher
Posts: 547
8
I like...
posted 1 week ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
Use Python to tell your crush you like her/him
import stringl = string.ascii_letterss = []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
Below are ASCII code
# 73、76、79、86、69、85 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
Code below will print love 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)]))
Output
Press ctrl+f then enter 9 :
99669999996669999996699666699666999966699666699 99699999999699999999699666699669966996699666699 99669999999999999996699666699699666699699666699 99666699999999999966666999966699666699699666699 99666666999999996666666699666699666699699666699 99666666669999666666666699666669966996699666699 99666666666996666666666699666666999966669999996
Output
Life is but a BREATH
Frits Walraven
Creator of Enthuware JWS+ V6
Posts: 3386
309
I like...
posted 7 hours ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
Congratulations Randy Tong,
Your question has made it to our
Journal
Have a
Cow
!
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Need help with Loops
javax.xml.ws.WebServiceException: Failed to access the WSDL
http://xml.apache.org/axis/ HttpErrorCode:401
Project Euler problems with Scala
Need Help With For Loops
More...