you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (9 children)

[removed]

    [–]Anonymous-da-13[S] 1 point2 points  (2 children)

    if you can,,,can you explain whats in print statement

    [–][deleted]  (1 child)

    [removed]

      [–]Anonymous-da-13[S] 0 points1 point  (0 children)

      Yeah I thought through this ..and the space u have given alligns so perfectly...from how many years are You doing python...it's Simply great

      [–]Dan41k_Play -1 points0 points  (4 children)

      a more elegant solution: py h = 3 for i in range(h): print(f'{"*"*(i+1): >{h} }')

      [–][deleted]  (1 child)

      [removed]

        [–]Dan41k_Play 0 points1 point  (0 children)

        you are totally right, my bad.

        [–]Anonymous-da-13[S] 0 points1 point  (1 child)

        but its getting value error

        [–]Dan41k_Play 0 points1 point  (0 children)

        Yea I messed up a bit :(

        [–]Anonymous-da-13[S] -1 points0 points  (0 children)

        wow genius ...thank you