I am lost on printing a character on the same line.
For example
card = "--Diamonds--"
Output needed: --Diamonds-- --Diamonds-- --Diamonds-- --Diamonds-- --Diamonds--
The same string variable (not a list) to be repeated on a single line. I don't want it to be a list at this stage, just an image for visuals.
Cheers
you could try to do it like this:
print(card*5)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With