1. Write a python program to search an 'element in the string and display the index value if found.
2 Write a python program to list out all the prime numbers between 0 and 18.
3. Write a python program for factorial of n numbers
4. Write a python program for fibonacci series of n numbers.
5. Write a python program to display the student grades.
Below 50 - ,
50 - below 60-e,
60 to 69 - d.
70 to 79.c,
80 to 89-b.
90 to 99-a,
100 - S.
Answers
Answered by
2
Answer:
Python String index() Method
Python string method index() determines if string str occurs in string or in a substring of string if starting index beg and ending index end are given. This method is same as find(), but raises an exception if sub is not found
Similar questions