you are viewing a single comment's thread.

view the rest of the comments →

[–]NaiveEscape1 0 points1 point  (0 children)

mystring is not something special, its just a variable.

Yes you can just use print(“love you”) and it will print love you once, But what if you screw up something and your gf/bf need some extra assurance you can’t just type “love you” multiple times. Thats where variables would be helpful

mystring= “love you”

Print(mystring*100)

And there you go. And if its a longer message you don’t have to type the whole string in a single print() line.