Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. def loopBokstaver():
  2.  
  3. list = []
  4. for c in string.ascii_uppercase:
  5. list.append(c)
  6.  
  7. for c1 in string.ascii_uppercase:
  8. for c2 in string.ascii_uppercase:
  9. if "AJ" in list:
  10. break
  11. list.append(c1+c2)
  12. return list
  13.  
  14.  
  15. def loopRader():
  16. board = [i for i in list(range(1,34))]
  17. return str(board)
  18.  
  19.  
  20. def consolidate():
  21. bokstav = "A"
  22. nylista = []
  23. print (loopRader())
  24. for d2 in loopRader():
  25. nylista.append(bokstav+d2)
  26. print (nylista)
  27.  
  28. consolidate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement