Python space problem

    elif entry == "6":
       height = int(input("Enter the height of the hourglass:"))
       yarisi = height/2
       yarisi = int(yarisi)
       for i in range(yarisi):
           bosluk_sayisi = i
           x_sayisi = yarisi*2-1-i*2
           for bosluk in range(bosluk_sayisi):
               print(" ", end="")
           for x in range(x_sayisi):
               print("x", end="")

           print()  # to go to the bottom line

#the bottom will be drawn separately
       yarisi += 1
       for i in range(yarisi):
           bosluk_sayisi = yarisi - 1 - i
           x_sayisi = i * 2 - 1
           for bosluk in range(bosluk_sayisi):
               print(" ", end="")
           for x in range(x_sayisi):
               print("x", end="")

           print() 

when I do this, there is 1 line of space between the top and bottom, how can I draw it as a whole or how can I delete the space?

(Option number 6 because I have other shapes drawn)

Consider that range by default starts with 0. What does that do for printing the bottom?