← Back to Question List
Python Code Walkthrough #36
Strings Times Numbers
📄 Code
Read carefully — what does this print?1dash: str = '-'2word: str = 'ab'3print(dash * 5)4print(word * 3)5print(word + dash * 2 + word)6print(len(word * 4))7print('3' + '4', 3 + 4, '3' * 4)