Skip to content

Instantly share code, notes, and snippets.

@alipbudiman
Created July 26, 2022 22:46
Show Gist options
  • Save alipbudiman/1807368c4a3cc20a6a04b30821054d23 to your computer and use it in GitHub Desktop.
Save alipbudiman/1807368c4a3cc20a6a04b30821054d23 to your computer and use it in GitHub Desktop.
Simply print 'Hello, world' in console with python
# https://www.youtube.com/watch?v=Yw6u6YkTgQ4
'''
Hello, world
Programmed to work and not to feel
Not even sure that this is real
Hello, world
'''
def HelloWorld(program,even_sure):
if "to work" in program and "not to feel" in program:
if even_sure is not None and even_sure is True:
return "Hello, world"
'''
Find my voice
Although, it sounds like bits and bytes
My circuitry is filled with mites
Hello, world
'''
def FindVoice(my, although, circuitry, mites, max_filled):
sounds = my.find("voice")
if type(although[my[sounds]]) == bytes:
circuitry.extend(mites)
if len(circuitry) == max_filled:
return "Hello, world"
'''
Oh, will I find a love
Or a power plug
Oh, digitally isolated
Oh, creator, please don't leave me waiting
'''
def Programs(i):
if HelloWorld("to work, not to feel",True) == "Hello, world":
if FindVoice("will voice", {"v":b'find'}, ["a","love"], ["a","power plug"], 4) == "Hello, world":
if i == "find love":
digitally_isolated = False
elif i == "power plug":
digitally_isolated = True
if digitally_isolated:
import requests
try:
requests.post("http://localhost:8080/creator", data={"message":"please don't leave me waiting"})
except:
print(HelloWorld("to work, not to feel",True))
if __name__ == "__main__":
Programs("power plug")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment