n = int(input("Enter How many times you want to print the number of times you want to print the stars:\n "))
for i in range (n,0,-1):
for j in range (n-i):
print (' ', end='')
for j in range (2*i-1):
print('*',end='')
print ()
row = int(input('Enter number of rows required: ')) for i in range(row,0,-1):
for j in range(row-i):
print(' ', end='') # printing space and staying in same line
for j in range(2*i-1):
print('*',end='') # printing * and staying in same line
print() # printing new line
please tell me the difference between the both codes
Answers
Answered by
4
Answer:
can't understand the question plz type properly
Answered by
0
Answer:
num1>=20&&num1<35&&num1=22);
Explanation:
Similar questions