Professional Documents
Culture Documents
OUTPUT
PROGRAM : WAP to create a user define function
Reverse num (n) which will accept an
integer number as an argument and return
the reverse of that number
OUTPUT
PROGRAM : WAP to input a list of integers from user
and then create a UDF L Shift which will shift contents
of n times to the left where is input list passed as a
parameter and n is an integer variable with which list
is shifted.
OUTPUT
PROGRAM : WAP to create a user defined
function Len Words (String) that
takes a string as an argument and returns
a tuple containing length of each word in a string
OUTPUT
PROGRAM : WAP to create a user defined function
count word in Python that takes dictionary as an
argument and displays the names in uppercase longer
than 5 characters
OUTPUT
PROGRAM : Read a text file and display the number of
vowels/consonants/uppercase/lowercase characters in
the file.
OUTPUT
PROGRAM : WAP to Read a file line by line and print it.
OUTPUT
PROGRAM : Write a program to read data from the
text file "Story.txt" and display those words which are
ending with 'e
OUTPUT