# To print Alphabet B of Asterick '*'
# Set your font type As Courier
n=int(raw_input("Enter a Number : "))
n=(n-1)/2
for i in range(n) :
print "*",
print
for i in range(n-1) :
print "*",
for i in range(n-1) :
print " ",
print "*"
for i in range(n) :
print "*",
print
for i in range(n-1) :
print "*",
for i in range(n-1) :
print " ",
print "*"
for i in range(n) :
print "*",
print
OUTPUT
Enter a Number : 9
* * * *
* *
* *
* *
* * * *
* *
* *
* *
* * * *
# Set your font type As Courier
n=int(raw_input("Enter a Number : "))
n=(n-1)/2
for i in range(n) :
print "*",
for i in range(n-1) :
print "*",
for i in range(n-1) :
print " ",
print "*"
for i in range(n) :
print "*",
for i in range(n-1) :
print "*",
for i in range(n-1) :
print " ",
print "*"
for i in range(n) :
print "*",
Enter a Number : 9
* * * *
* *
* *
* *
* * * *
* *
* *
* *
* * * *