``` def d(): # String Repeat using * is supported in Lpython l:list[i32] = [1,2] print(l*2) d() (lp) faze-geek@DESKTOP-497JDCU:~/lpython/lpython$ python try.py [1, 2, 1, 2] (lp) faze-geek@DESKTOP-497JDCU:~/lpython/lpython$ ./src/bin/lpython try.py semantic error: Type mismatch in binary operator; the types must be compatible --> try.py:3:11 | 3 | print(l*2) | ^ ^ type mismatch (list[i32] and i32) ```
Activity