fork download
  1. s = "Hello"
  2. t = "World"
  3. r = 2
  4. print(s * r + s * t)
Runtime error #stdin #stdout #stderr 0.01s 118656KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 4, in <module>
    print(s * r + s * t)
TypeError: unsupported operand type(s) for *: 'str' and 'str'