Skip to content

Instantly share code, notes, and snippets.

@kg583
Last active May 30, 2025 13:02
Show Gist options
  • Save kg583/1b78e5db14f055596cf827c3198a844a to your computer and use it in GitHub Desktop.
Save kg583/1b78e5db14f055596cf827c3198a844a to your computer and use it in GitHub Desktop.
Logo for the 2023 IOPCC
c,o,d,e =[ 32],[95], [32,124],[124,32] ;vars(vars( ) [dir( )[1]])[
dir(vars() [dir( )[1]])[ 136] ]( vars( str) [dir( str)[56]]( str(1)[:~1],map(
vars(vars( )[dir()[1]])[dir( vars( )[dir( )[1]]) [92]],[*c*2,95,*c* 4,95,*c*10,95,*c*3
,95,*c*10, *o*2,*c*10,*o*2,*c* 15,95,*c *7,95,* c*3,95,32,10,*d*2,* c*2,*e,124,*c*8,*e*
4,* c* 8 ,92,32 ,92,*c*8 ,47,32 ,47,*c* 14,*e*2 ,*c*4, *e*3,124 ,10,*d
*2,*o* 2,*e*2, *c*2,*o *3,32, *d*4,* c*3,*o*3 ,*c* 4,
92,32, 92,*c*2, 47,92,* c*2,47,32,47,*c*2 ,*o*3,* c*4,95,
32,*o* 2,32,*d *2,*c*3 ,*o*2,*e*3, 124, 10,*d,* c*2,*o*
2, *c* 2,*e,32 ,47,32, 95,32,92,*d*4, *c*2,47 ,32,95,
32,92, *c*4,92 ,32,92, 47,*c* 2,92,47 ,32,47,
*c* 2, 47, 32, 95, 32, 92,*c* 2,*e,39 ,*o*2,*
e*3,32 ,47, 32, 95,96,*d *3,10, *d*2,*c *2,*e* 3,32,*o *2,47,
32,*e*5,40 ,95,41,32,124,*c*4, 92,*c*2,47 ,92,*c*2,47,*c*2,*e ,40,95,41,*d*3,*c*4
,*e*3, 40, 95,124,*d*2,95,124 ,10,*d,95, *e,*d,95,*e,32,92, *o*3,*[124,*d,95]*
2,*e,32,92 ,*o*3,47,*c*6 ,92,47,*c* 2,92,47,*c*4,92, *o*3,47,*c*2,124
,95,*e,*c* 2,*d, 95, *e,32,92,* o*2,44,95,*e, 40,95,41])))#
# (c) 2023 Kevin Gomez (kg583)
_ _ _ _ __ __ _ _ _
| | | | | | | | \ \ / / | | | | | |
| |__| | ___ | | | | ___ \ \ /\ / / ___ _ __ | | __| | | |
| __ | / _ \ | | | | / _ \ \ \/ \/ / / _ \ | '__| | | / _` | | |
| | | | | __/ | | | | | (_) | \ /\ / | (_) | | | | | | (_| | |_|
|_| |_| \___| |_| |_| \___/ \/ \/ \___/ |_| |_| \__,_| (_)
@kg583
Copy link
Author

kg583 commented Mar 22, 2023

Run with python iopcc.py.

Works on 3.10; fails on 3.11; may work on older versions.

@kj7rrv
Copy link

kj7rrv commented Jun 30, 2023

May I incorporate this into my IOPCC entry?

@rpitasky
Copy link

you can do whatever you want, but note the guidelines

@hngocuyen
Copy link

[dir(vars() [dir( )[1]])[ 136] in python3.10 is 'print'
but in python3.11 is 'ord' so it bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment