Nov-06-2023, 06:56 AM
hi
in the below code:
thanks
in the below code:
# normal pyramid print("\nNormal Pyramid") for i in range(5): x="* " x=x*i print(f'{x:^10}')what is ^10 in last print line?also {x:<10} and {x:>10} can be used. what are they?
thanks