Battle ship game (python)

Hey guys, this is one of my firsts python games, hope you would like it!

import random

def createnewBoard():
    BombBoard = ['~','~','~','~','~','~','~','~','~']
    alreadytaken=''
    position=random.randint(0,8)
    bombs=1
    while bombs <=3:
        while str(position) not in alreadytaken:
            BombBoard[position]='X'
            alreadytaken=alreadytaken + str(position)
            bombs = bombs + 1
        else:
            position=random.randint(0,8)
       
    return BombBoard
    
def displayBoard(BombBoard):
    print('  1' + ' 2' + ' 3')
    print('A', end='')
    for i in range(3):
        print(' ' + BombBoard[i], end= '')
    print()

    print('B', end='')
    for i in range(3):
        print(' ' + BombBoard[i+3], end= '')
    print()

    print('C', end='')
    for i in range(3):
        print(' ' + BombBoard[i+6], end= '')
    print()

def checkHit(row,column, gameBoard):
    Hit=False
    if row== 'A' or row == 'a':
        if gameBoard[int(column)-1] == 'X':
            Hit=True
            
    if row== 'B' or row == 'b':
        if gameBoard[int(column)+2] == 'X':
            Hit=True
            
    if row== 'C' or row == 'c':
        if gameBoard[int(column)+5] == 'X':
            Hit=True
    
    return Hit

def checkForIndex(row,column,gameboard):
    if row== 'A' or row == 'a':
        if gameBoard[int(column)-1] == 'X':
            index=int(column)-1
            
    if row== 'B' or row == 'b':
        if gameBoard[int(column)+2] == 'X':
            index=int(column)+2
            
    if row== 'C' or row == 'c':
        if gameBoard[int(column)+5] == 'X':
            index=int(column)+5
    
    return index
    
#gamebegins   
playAgain=True

while playAgain==True:
    print('B A T T L E - S H I P S\n' + '=======================')
    print('There are 3 Ships in the Ocean,\n' + 'you have 5 guesses to bomb them all! Good Luck!')
    print()
    playerBoard = ['?','?','?','?','?','?','?','?','?']
    gusses=0
    hits=0
    gameBoard=createnewBoard()
    while gusses<=4:
        displayBoard(playerBoard)
        print()
        print('Choose a row (A/B/C):')
        row=input()
        while row != 'a' and row != 'A' and row != 'b' and row != 'B' and row != 'c' and row != 'C':
            print('You can only choose between A/B/C!')
            row=input()
        
        print('Choose a column (1/2/3):')
        column=input()
        while column != '1' and column != '2' and column != '3':
            print('You can only choose between 1/2/3!')
            column=input()
            
        Hit=checkHit(row,column,gameBoard)
        if Hit==True:
            print('You Bombed a ship!')
            hits = hits + 1
            if hits==3:
                print('You Did It!, would you like to play again? (y/n):')
                playerinput=input()
                if playerinput == 'y' or playerinput == 'Y':
                    playAgain=True
                else:
                    playAgain=False
                    break
            playerBoard[checkForIndex(row,column,gameBoard)] = 'X'
            gusses = gusses + 1
        else:
            print('You Missed!')
            gusses = gusses + 1
    else:
        print('You ran out of guesses!, would you like to play again? (y/n):')
        playerinput=input()
        if playerinput == 'y' or playerinput == 'Y':
            playAgain=True
        else:
            break