repl.it
@CarterMonkey/

Python W/James 2

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#find #'s divisible by 7 and not by 5

#mist = []
#for i in range(2000, 3200):
#  if i%7 == 0 and not i%5 == 0:
#    mist.append(i)
#print(mist)

#import math
#x = int(input("Enter a number to find its factorial! "))
#nerd = math.factorial(x)
#print(nerd)

board = [["A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8"], ["B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"], ["C1", "C2", "C3", "C4", "C5", "C6", "C7", "C8"], ["D1", "D2", "D3", "D4", "D5", "D6", "D7", "D8"], ["E1", "E2", "E3", "E4", "E5", "E6", "E7", "E8"], ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8"], ["G1", "G2", "G3", "G4", "G5", "G6", "G7", "G8"], ["H1", "H2", "H3", "H4", "H5", "H6", "H7", "H8"]]

for x in range (8):
  for y in range (8):
    print(board[x][y], end =" ")
  print()