# a= int(input("Enter a number"))

# for i in range (1,11):
#     # print(str(a) + "X"+ str(i)+ "="+ str(a*i))
#     print(f"{a}X{i}={a*i}")


# ouestion -2

# l1= ["harry", "sohan", "sachin","rahul"]
# for i in l1:
#     if i.startswith("s"):
#         print("Hello",i)
    
# question 3

# a= int(input("Enter a number"))
# i=1
# while i<11:
#     print(f"{a}X{i}={a*i}")
#     i=i+1

# question-4

# a= int(input("Enter a number"))
# prime = True
# for i in range (2,a):
#     if a % i == 0:
#         prime = False

# if prime :
#     print("the number is prime")
# else:
#     print("the number is not prime")    

# a= int(input("Enter a number"))
# s=0
# i=1
# while(i<=a):
#     s=s+i
#     i=i+1
# print(f"the sum of natural numbers up to {a}=",s)
   

# question -5

# a= int(input("Enter a number"))
# f=1
# for i in range(1,a+1):
#     f=f*i

# print("factorial of a given number=",f)    
   
# question =8

for i in range(4):
    print("*"*(i+1))