Python Colon Operator

Python Colon Operator(:) The colon(:) symbol is used for multiple purposes in Python As slice operator in list, tuple, and string data type. It is also used in if, while, …

Read more