FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/tests/subscript1.py at main · ctbinzi/lpython · GitHub
ctbinzi
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
tests
/
subscript1.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (19 loc) · 295 Bytes
Breadcrumbs
lpython
/
tests
/
subscript1.py
Copy path
File metadata and controls
21 lines (19 loc) · 295 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def
test_subscript
():
s
:
str
s
=
'abc'
s
=
s
[
0
]
s
=
s
[
1
:
2
]
s
=
s
[::]
s
=
s
[::
-
1
]
s
=
s
[::
2
]
s
=
s
[
1
:
88
:
1
]
s
=
s
[:
1
:
-
4
]
s
=
s
[
-
89
::
4
]
s
=
s
[
-
3
:
-
3
:
-
3
]
s
=
s
[
2
:
3
:]
A
:
i32
[
5
]
B
:
i32
[
2
]
i
:
i32
i
=
A
[
0
]
B
=
A
[
1
:
3
]
B
=
A
[
1
:
2
:
3
]
Back
|
FazBrowse Home
|
New Git URL