Riddhi Python Lab Report
Riddhi Python Lab Report
JAN-JUNE 2022
0901EE201101
It is used for:
Why Python?
Python was designed for readability, and has some similarities to the
English language with influence from mathematics.
Python uses new lines to complete a command, as opposed to other
programming languages which often use semicolons or parentheses.
Python relies on indentation, using whitespace, to define scope; such as
the scope of loops, functions and classes. Other programming languages
often use curly-brackets for this purpose.
2. WRITE A PROGRAM TO CREATE, CONCATENATE AND
PRINT A STRING AND ACCESSING SUBSTRING FROM A
GIVEN STRING.
***