Closed
Description
A new line character is encountered before and after the list[i32]
type. I checked integers, floats, strings which give expected answers when printed together.
def main1():
a : i32 = 1
s : str ="abc"
l : list[i32] = [1,2,3,4,5]
print(a,l,s)
main1()
(lp) C:\Users\kunni\lpython>python try.py
1 [1, 2, 3, 4, 5] abc
(lp) C:\Users\kunni\lpython>src\bin\lpython try.py
Creating library try.lib and object try.exp
1
[1, 2, 3, 4, 5]
abc
Metadata
Metadata
Assignees
Labels
No labels