Answers for "can i slice a string in python"

1

slicing strings in python

varible = "c#,python,java,javascript,rudy,css,html"
print(varible[0:2])# c#
print(varible[3:9])#python
print(varible[10:14])#java
print(varible[:2])#same as c#
Posted by: Guest on December-22-2021

Code answers related to "can i slice a string in python"

Python Answers by Framework

Browse Popular Code Answers by Language