Discussion Forum | Board Infinity

How to do string slicing in Python

String Slicing in Python

b = “Hello, World!”

print(b[2:5])

Output is llo