0% found this document useful (0 votes)
11 views17 pages

Python Programming Concepts and Exercises

The document outlines various Python programming tasks and concepts, including arithmetic operations, string manipulation, and control structures. It includes specific assignments such as generating multiplication tables, calculating factorials, and checking for prime numbers. Additionally, it covers functions, lambda functions, and data structures like lists, tuples, and dictionaries.

Uploaded by

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

Python Programming Concepts and Exercises

The document outlines various Python programming tasks and concepts, including arithmetic operations, string manipulation, and control structures. It includes specific assignments such as generating multiplication tables, calculating factorials, and checking for prime numbers. Additionally, it covers functions, lambda functions, and data structures like lists, tuples, and dictionaries.

Uploaded by

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

Input No.

Sum Of Two numbers.

Convert Fahrenheit to degree Celsius.

Verification of Arithmetic Operator

Verification of Comparision
Assignment Operators
Bitwise Operator

Logical Operator

Double-click (or enter) to edit


Write a code snippet which will count the number of vowels ,no. of consonant and no
of spaces in string entered by user using count function without using the loop
Spliting Strings

Counting Strings

AlphaNumeric

String Formating

List
Tuple

Set

While Loops
Practice Question

Write a python script which generates multiplicated table of a number by


user
write a python script to generate factorial of numbers continuously until user
exits.

generate n terms of Fibonacci series and stored them in a


dictionary

python digit count digit of


number

check digit is prime or not


sum of digits of an integer
find lcm and gcd of two numbers

count no. of vowels

Check if string is palindrome or


not

Finds out frequency of each character in a string and store them in


dictionary
Function
Define a function which takes username and DOB as arguments and return a
password for the same. the format of password should be username@DOB#22

Lambda Function

You might also like