+ 1

print('*'*5)

print('*'*5) Output: ***** So it's an index? from 0 to the end times 5? Confused about what the commas and asterisks mean. Any help appreciated.

18th Apr 2019, 1:55 AM
tristach605
tristach605 - avatar
3 Answers
+ 6
'*' is the character *. Multiplication is done by using *. So, '*' times 5 is 5 *s: *****.
18th Apr 2019, 3:36 AM
Rowsej
Rowsej - avatar
+ 1
Oh! Now I get it! Thanks Diego and Rowsej, I was WAY off:).
18th Apr 2019, 10:20 PM
tristach605
tristach605 - avatar