Language:
Source:
Result:
py3
Source:
print('Flipping coin...', '*fwoop fwoop*', '*ding ching ching ing*', "it's {}".format(__import__('random').choice(['heads.','tails.'])), sep='\n')Result:
Flipping coin...
*fwoop fwoop*
*ding ching ching ing*
it's heads.
Language:
Source:
Result:
py3
Source:
[print(i,'sheep ๐\n') for i in range(1,6)]
Result:
1 sheep ๐
2 sheep ๐
3 sheep ๐
4 sheep ๐
5 sheep ๐
Language:
Source:
Result:
py3
Source:
X, Y, Z, V = 'burgers', 'burger', None, 'burger'
print('yo dawg, I herd you like {}, so I put a {} in your {} so you can {} while you {}'.format(X, X if not Y else Y, (X if not Y else Y) if not Z else Z, X if not V else V, X if not V else V))
Result:
yo dawg, I herd you like burgers, so I put a burger in your burger so you can burger while you burger
Language:
Source:
Result:
py3
Source:
q,r,L=abs,print,' โ'
class LonamiPity:
def __init__(s,b):s.b=b;
def withdraw(s,a):return'No withdrawals!';
def deposit(s,a):a=q(a);s.b+=a;return'Deposited:'+L,a;
def bal(s):return'Balance:'+L,s.b;
p=LonamiPity(20);r(p.withdraw(10));r(*p.deposit(25));r(*p.bal());
Result:
No withdrawals!
Deposited: โ 25
Balance: โ 45
Language:
Source:
Result:
py3
Source:
q,r,L,N=abs,print,' โ','\n'
class LonPity:
def __init__(s,b):s.b=b
def w(s,a):return'Cant withdraw',L,a,'!',N
def d(s,a):a=q(a);s.b+=a;return'Deposited:'+L,a,N
def c(s):return'Balance:'+L,s.b,N
p=LonPity(100);r(*(*p.c(),*p.w(40),*p.d(25),*p.c()),sep='')
Result:
Balance: โ100
Cant withdraw โ40!
Deposited: โ25
Balance: โ125
Language:
Source:
Result:
py3
Source:
q,r,L,N=abs,print,' โ','\n'
class LP:
def __init__(s,b):s.b=b;r('LonaPity')
def w(s,a):return"Can't w/d",L,a,'!',N
def d(s,a):a=q(a);s.b+=a;return'Deposited:'+L,a,N
def c(s):return'Balance:'+L,s.b,N
p=LP(100);r(*(*p.c(),*p.w(40),*p.d(25),*p.c()),sep='')
Result:
LonaPity
Balance: โ100
Can't w/d โ40!
Deposited: โ25
Balance: โ125
Language:
Source:
Result:
py3
Source:
e_dict={"๐จ":"print"}
emojithon="๐จ('hello world')"
decoded=''.join([(x if x not in e_dict else e_dict[x]) for x in emojithon])
eval(decoded)Result:
hello world
Language:
Source:
Result:
py3
Source:
emojis='โค๏ธ ๐งก ๐ ๐ ๐ ๐'
print(''.join(__import__('random').choice([x[0] for x in emojis.split(' ')]) for _ in range(60)))
Result:
๐๐โค๐๐๐โค๐๐๐งก๐๐๐๐งก๐๐๐งกโคโค๐โค๐๐โค๐๐๐๐โค๐๐๐๐๐๐๐งก๐๐โค๐โค๐๐๐๐๐๐๐๐๐๐๐งก๐๐๐๐โค๐งก๐๐
Language:
Source:
Result:
py3
Source:
code="def main():\n print(gethi())\ndef gethi():\n return'hi'\nif __name__=='__main__':main()"
exec(code)
Result:
hi
Language:
Source:
Result:
py3
Source:
import keyword as k
w=k.kwlist+['print','\"','\'','(',')',':','=']
e='โ๐ซโโซ๐โณ๐๐ซโถ๐โ๐๐๐ฑ๐ โญโซ๐๐ค๐ขโฌโโ๐ฝโโ๐จ๐๐โ๐๐๐บ๐จโผโโชโฉโโฐ'
d,i={},0
for j in e:
d[j]=w[i];i+=1
print(d)
Result:
{'๐': 'elif', 'โฌ': 'in', 'โ': 'or', 'โถ': 'continue', 'โ': 'is', '๐ซ': 'class', 'โซ': 'from', 'โ': 'lambda', '๐': 'break', '๐': 'else', 'โ': 'try', 'โ': 'True', '๐': 'global', '๐': 'with', '๐': 'as', 'โ': 'del', 'โ': 'not', '๐ซ': 'None', 'โช': '(', 'โซ': 'and', 'โ': "'", '๐จ': 'print', '๐บ': 'yield', 'โฉ': ')', '๐': 'def', 'โฐ': '=', '๐': 'while', 'โญ': 'for', '๐
': 'finally', 'โณ': 'assert', 'โ': 'False', '๐ข': 'import', '๐': 'raise', '๐ฝ': 'nonlocal', '๐จ': 'pass', '๐ฑ': 'except', 'โผ': '"', '๐ค': 'if', 'โ': ':', '๐': 'return'}Language:
Source:
Result:
py3
Source:
import keyword as k
w=k.kwlist+'print " \' ( ) : = \n'.split(' ')
e='โ๐ซโโซ๐โณ๐๐ซโถ๐โ๐๐๐ฑ๐ โญโซ๐๐ค๐ขโฌโโ๐ฝโโ๐จ๐๐โ๐๐๐บ๐จโผโโชโฉโโฐ๐'
d,i={},0
for j in e:
d[j]=w[i];i+=1
n='๐ mโชโฉโ๐ ๐จโชโโผhiโผโโฉ๐๐ค __name__โฐโฐโ__main__โโ๐ mโชโฉ'
exec(''.join([(x if x not in d else d[x]) for x in n]))
Result:
"hi"
Language:
Source:
Result:
py3
Source:
print('\n'.join('{0} bottles of beer on the wall, {0} bottles of beer, you take one down and pass it around, {1} bottles of beer on the wall'.format(i, i-1) for i in (range(99, 97,-1))))Result:
99 bottles of beer on the wall, 99 bottles of beer, you take one down and pass it around, 98 bottles of beer on the wall
98 bottles of beer on the wall, 98 bottles of beer, you take one down and pass it around, 97 bottles of beer on the wall
maila11.telegram.org,149.154.167.57
mailm11.telegram.org,149.154.175.16
mails11.telegram.org,149.154.171.22
maila21.telegram.org,149.154.167.124
mailm21.telegram.org,149.154.175.114
mx1.telegram.org,149.154.162.203
mx2.telegram.org,149.154.162.204
web.telegram.org,149.154.167.120
flora-1.web.telegram.org,149.154.171.22
aurora-1.web.telegram.org,149.154.175.115
vesta-1.web.telegram.org,149.154.164.224
pluto-1.web.telegram.org,149.154.174.10
venus-1.web.telegram.org,149.154.167.24
aurora.web.telegram.org,149.154.175.115
vesta.web.telegram.org,149.154.164.224
pluto.web.telegram.org,149.154.174.10
venus.web.telegram.org,149.154.167.24
core.telegram.org,149.154.167.99
api.telegram.org,149.154.167.220
mail.telegram.org,149.154.167.33
desktop.telegram.org,149.154.167.99
translations.telegram.org,149.154.167.99
gbot.integrations.telegram.org,18.194.34.184
macos.telegram.org,149.154.167.99
instantview.telegram.org,149.154.167.99
ams-ix-gw.telegram.org,149.154.167.99
www.telegram.org,149.154.167.99
osx.telegram.org,149.154.164.3
my.telegram.org,149.154.167.99
mailm11.telegram.org,149.154.175.16
mails11.telegram.org,149.154.171.22
maila21.telegram.org,149.154.167.124
mailm21.telegram.org,149.154.175.114
mx1.telegram.org,149.154.162.203
mx2.telegram.org,149.154.162.204
web.telegram.org,149.154.167.120
flora-1.web.telegram.org,149.154.171.22
aurora-1.web.telegram.org,149.154.175.115
vesta-1.web.telegram.org,149.154.164.224
pluto-1.web.telegram.org,149.154.174.10
venus-1.web.telegram.org,149.154.167.24
aurora.web.telegram.org,149.154.175.115
vesta.web.telegram.org,149.154.164.224
pluto.web.telegram.org,149.154.174.10
venus.web.telegram.org,149.154.167.24
core.telegram.org,149.154.167.99
api.telegram.org,149.154.167.220
mail.telegram.org,149.154.167.33
desktop.telegram.org,149.154.167.99
translations.telegram.org,149.154.167.99
gbot.integrations.telegram.org,18.194.34.184
macos.telegram.org,149.154.167.99
instantview.telegram.org,149.154.167.99
ams-ix-gw.telegram.org,149.154.167.99
www.telegram.org,149.154.167.99
osx.telegram.org,149.154.164.3
my.telegram.org,149.154.167.99
Language:
Source:
Result:
py3
Source:
s='\u0336'
def striketext(string):
return s.join([*string,''])
print(striketext("this text is striked"))
Result:
tฬถhฬถiฬถsฬถ ฬถtฬถeฬถxฬถtฬถ ฬถiฬถsฬถ ฬถsฬถtฬถrฬถiฬถkฬถeฬถdฬถ
Forwarded from Zac
Language:
Source:
Result:
py3
Source:
import random as r
c = {1:"",2:"",3:"",4:"๐ฃ",5:"",6:""}
print('russian roulette:\n*spin*\n*click*\n')
print("*bang*\n*ded*" if not c[r.choice(list(c.keys()))] == "" else ":) *yolo*")
Result:
russian roulette:
*spin*
*click*
:) *yolo*
Forwarded from Zac
Language:
Source:
Result:
py3
Source:
import random as r
c = {1:"",2:"",3:"",4:"๐ฃ",5:"",6:""}
print('russian roulette:\n*spin*\n*click*\n')
print("*bang*\n*ded*" if not c[r.choice(list(c.keys()))] == "" else ":) *yolo*")
Result:
russian roulette:
*spin*
*click*
*bang*
*ded*
Language:
Source:
Result:
py3
Source:
o,h,e,q,c,k='โข','<','no he*cks given.',7,13,'โ';d=['โ ']*c;v=['']*q;p=[[i for i in d] for j in v];p[0][6]=p[1][3]=p[1][9]=p[3][1]=p[3][11]=p[5][0]=p[5][6]=p[5][12]=o;p[5][2]=h;p[5][3]=p[5][4]=p[5][5]=k;
print(*[''.join(x) for x in p],e, sep='\n')
Result:
โ โ โ โ โ โ โขโ โ โ โ โ โ
โ โ โ โขโ โ โ โ โ โขโ โ โ
โ โ โ โ โ โ โ โ โ โ โ โ โ
โ โขโ โ โ โ โ โ โ โ โ โขโ
โ โ โ โ โ โ โ โ โ โ โ โ โ
โขโ <โโโโขโ โ โ โ โ โข
โ โ โ โ โ โ โ โ โ โ โ โ โ
no he*cks given.
Language:
Source:
Result:
py3
Source:
o,h,e,q,c,k='๐น','โ','no he*cks.',7,13,'โ';d=['โ ']*c;v=['']*q;p=[[i for i in d] for j in v];p[1][6]=p[2][2]=p[2][9]=p[3][1]=p[3][10]=p[4][0]=p[4][11]=p[5][0]=p[5][10]=o;p[5][2]=h;p[5][3]=p[5][4]=p[5][5]=k;p[5][6]='โซ๏ธ'
print(*[''.join(x) for x in p],e, sep='\n')
Result:
โ โ โ โ โ โ โ โ โ โ โ โ โ
โ โ โ โ โ โ ๐นโ โ โ โ โ โ
โ โ ๐นโ โ โ โ โ โ ๐นโ โ โ
โ ๐นโ โ โ โ โ โ โ โ ๐นโ โ
๐นโ โ โ โ โ โ โ โ โ โ ๐นโ
๐นโ โโโโโซ๏ธโ โ โ ๐นโ โ
โ โ โ โ โ โ โ โ โ โ โ โ โ
no he*cks.
Language:
Source:
Result:
py3
Source:
h,t,g,o,s,n= ['๐บ', '๐ช', '๐ฎ'],'๐๏ธ','< (^_^ <)','(> ^_^) >','โ ','\n\n';d=len(h)
for i in reversed(range(d)):
z=[[*h,s,g,s,t],[*h,g,s,s,t],[*h[:i],o,h[i],s,t],[*h[:i],s,o,h[i],t],[*h[:i],s,s,o,t],[*h[:i],s,s,g,t]];print(*[''.join(x) for x in z],sep=n);h[i]=''
Result:
๐บ๐ช๐ฎโ < (^_^ <)โ ๐๏ธ
๐บ๐ช๐ฎ< (^_^ <)โ โ ๐๏ธ
๐บ๐ช(> ^_^) >๐ฎโ ๐๏ธ
๐บ๐ชโ (> ^_^) >๐ฎ๐๏ธ
๐บ๐ชโ โ (> ^_^) >๐๏ธ
๐บ๐ชโ โ < (^_^ <)๐๏ธ
๐บ๐ชโ < (^_^ <)โ ๐๏ธ
๐บ๐ช< (^_^ <)โ โ ๐๏ธ
๐บ(> ^_^) >๐ชโ ๐๏ธ
๐บโ (> ^_^) >๐ช๐๏ธ
๐บโ โ (> ^_^) >๐๏ธ
๐บโ โ < (^_^ <)๐๏ธ
๐บโ < (^_^ <)โ ๐๏ธ
๐บ< (^_^ <)โ โ ๐๏ธ
(> ^_^) >๐บโ ๐๏ธ
โ (> ^_^) >๐บ๐๏ธ
โ โ (> ^_^) >๐๏ธ
โ โ < (^_^ <)๐๏ธ