0% found this document useful (0 votes)
10 views1 page

Python Coding Challenges and Solutions

The document contains a list of programming tasks and questions related to Python scripting. It includes tasks such as generating Fibonacci series, checking for prime numbers, and analyzing list manipulations. Additionally, it covers string operations, such as checking for palindromes and counting vowels and digits.

Uploaded by

vamsibugata
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Python Coding Challenges and Solutions

The document contains a list of programming tasks and questions related to Python scripting. It includes tasks such as generating Fibonacci series, checking for prime numbers, and analyzing list manipulations. Additionally, it covers string operations, such as checking for palindromes and counting vowels and digits.

Uploaded by

vamsibugata
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Answer any 6 Questions

1. Try the following


* * * * *
* * * *
* * *
* *
*

2. Writ a script to display Fibonacci series

3. Write a script to display prime numbers between 1-99

4. Write a script to check given string Palindrome or not

5. Analyse the following script


lst=[3,4,6,1,2]
lst[1:2]=[7,8]
print(lst)

6 Output of the following script


pylist=[1,2,3,4,[5,6,7,8,[9,10,11,12,[13,14,15,16]]]]
print(pylist)
print(pylist[4][4][4][3])

7. Python Program to Swap the First and Last Value of a List

8. Print the multiplication table for given number.

9. Count the Number of Vowels in a String.

10. Calculate the Number of Digits and Letters in a String

You might also like