Skip to main content
added 3 characters in body
Source Link
TFeld
  • 19.9k
  • 3
  • 20
  • 63

Python 3, 6767 64 bytes

print([a+b*[a+b for a in['10']+[*'A23456789JQK']forin['10',*'A23456789JQK']for b in'CHSD']+['J']*2in'CHSD'],*'JJ')

Try it online!Try it online!


Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Alt:

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

print['1'[a>'0':]+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

saved

  • -3 bytes, thanks to ovs

Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Alt:

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

print['1'[a>'0':]+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Python 3, 67 64 bytes

print(*[a+b for a in['10',*'A23456789JQK']for b in'CHSD'],*'JJ')

Try it online!


Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Alt:

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

print['1'[a>'0':]+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

saved

  • -3 bytes, thanks to ovs
added 379 characters in body
Source Link
TFeld
  • 19.9k
  • 3
  • 20
  • 63

Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Alt:

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

Try it online!


Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


If I can use T instead of 10

Python 2, 58 56 bytes

print[a+bprint['1'[a>'0':]+a+b for a in'A23456789TJQK'forin'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

Try it online!


Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


If I can use T instead of 10

Python 2, 58 56 bytes

print[a+b for a in'A23456789TJQK'for b in'CHSD']+['J']*2

Try it online!

Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Alt:

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

print['1'[a>'0':]+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2
added 379 characters in body
Source Link
TFeld
  • 19.9k
  • 3
  • 20
  • 63

Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

Try it online!


Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


If I can use T instead of 10

Python 2, 58 56 bytes

print[a+b for a in'A23456789TJQK'for b in'CHSD']+['J']*2

Try it online!

Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!


If I can use T instead of 10

Python 2, 58 56 bytes

print[a+b for a in'A23456789TJQK'for b in'CHSD']+['J']*2

Try it online!

Python 2, 78 76 74 68 bytes

print['1'*(a<'1')+a+b for a in'A234567890JQK'for b in'CHSD']+['J']*2

Try it online!

Python 2, 68 bytes

print[a+b for a in['10']+list('A23456789JQK')for b in'CHSD']+['J']*2

Try it online!


Python 3, 67 bytes

print([a+b for a in['10']+[*'A23456789JQK']for b in'CHSD']+['J']*2)

Try it online!


If I can use T instead of 10

Python 2, 58 56 bytes

print[a+b for a in'A23456789TJQK'for b in'CHSD']+['J']*2

Try it online!

added 402 characters in body
Source Link
TFeld
  • 19.9k
  • 3
  • 20
  • 63
Loading
Source Link
TFeld
  • 19.9k
  • 3
  • 20
  • 63
Loading