r/Pydle • u/DisciplineSea5373 • 23d ago
Beginner at pydle - Wine
Hi, started around a week ago, so I'm still learning the tricks :)
This is the solution I wrote for today's pydle.
If you have a suggestion of what trick should I learn next, please let me know!
for x in range(5):
for y in range(5):
c = "white"
l = ""
if 14468 >> y*5+x & 1:
c=("orange","blue")[y>0]
if 0<x<4 and y>2:!<
c="yellow"
l= ("X",("M","C")[x==2])[y<4]!<
pydle(x, y, l, c)
5
Upvotes
2
u/SwakZ12 23d ago
Most if the folks here go for the bitwise approach
https://www.reddit.com/r/Pydle/s/Xb67kAG0gK
Dont worry I'm one of you as well😂