Posts

Showing posts with the label Python
Share:

Working With String In Python - Amit Padhiyar (Saatody)

Python is very popular programming language. It is also very easy for developer. Python gives you many ways to make your program easy in every new release. In this post, I will discuss about only string (no discussion about string functions). I trying to make this post for developers who want to know " How to define string in Python?", "How Python different from other languages?", "How Python provides string handling syntax?". So first, What is string in every programming language? The short answer is... The string is sequence of characters that use for store string or text values. Syntax: "Define String In Double Quotes" 'Define String In Single Quotes' Python does not give an error when we use string in single quotes Python does not give an error when we use string in single quotes when other programming languages gives error. This is a reason that the python is very easy for use. What is reason behind this? Because, The sing