Mca Python Practicals 26 April 2025
Mca Python Practicals 26 April 2025
1 *****
12 ****
123 ***
1234 **
12345 *
16. Write a Python program to demonstrate various ways of accessing the string.
i) By using Indexing (Both Positive and Negative) ii) By using Slice Operator
17. Demonstrate the built in functions which operates on strings in Python with suitable
examples: len( ), title( ), lower( ), upper( ), count( ), find( ), index( ), endswith( ),
startswith( ), isalnum( ), islower( ), isupper( ), isspace( ), istitle( ), lstrip( ),rstrip( ),strip(
), replace( ), join( ), partition( ).