Path: blob/master/Data Analysis using Python/Strings.ipynb
3074 views
Kernel: Python 3
Strings
In [46]:
Out[46]:
This is concading= Python is a data science tool1234
Length of string a = 29
False
False
Converting a into uppercase= PYTHON IS A DATA SCIENCE TOOL
1234
In [16]:
Out[16]:
'y'
In [17]:
Out[17]:
'P'
In [27]:
Out[27]:
False
In [30]:
Out[30]:
True
In [61]:
Out[61]:
['Learning', 'is', 'important', 'For', 'Success']
['Learning is important', ' For Success']
False
String indexing
In [44]:
Out[44]:
a
4
abc123
34
123
123
12334
2
5
Create a interface to check the correctness of an input pwd , the pwd should have following "Au$31111111".min length nine.
Create a program to develop bus ticket booking portal ,with user id & pwd , enter details , fare generate (0-5,free |6-55,F:25%concession|,>55:50%). max=1000rs.
In [ ]: