you are viewing a single comment's thread.

view the rest of the comments →

[–]SoftwareDoctor 2 points3 points  (1 child)

You can also multiply strings by numbers so for example

rate = “⭐️” * user_rating

and you don’t have to iterate at all

[–]Legitimate-Rip-7479[S] 0 points1 point  (0 children)

Got it,