Advertisement
nikol_bratkova

Untitled

Apr 26th, 2022
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. card_points =['2','3','4','5','6','7','8','9','10','A','K','Q','J']
  2. card_signs =['Hearts','Clubs','Diamonds','Spades']
  3.  
  4. for points in range(len(card_points)):
  5. output = ''
  6. for signs in range(len(card_signs)):
  7. output = output + card_points[points] + " of " + card_signs[signs] + ', '
  8. print(output.removesuffix(', '))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement