This website requires JavaScript.
Explore
Help
Sign In
alfred
/
LearningPy
Watch
1
Star
0
Fork
You've already forked LearningPy
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
d9f24706ac
LearningPy
/
main.py
7 lines
95 B
Python
Raw
Normal View
History
Unescape
Escape
Test string defs.
2022-11-30 16:59:34 +00:00
#String tests
a
=
"
hello world
"
Test string slicing.
2022-11-30 17:06:34 +00:00
#[lw_inc:up_exc]
print
(
a
[
2
:
8
]
)
print
(
a
[
:
8
]
)
print
(
a
[
2
:
]
)