Programs
Programs
List_2=[3,”GOOD”, “HAVE”,”A”,”NICE”,”DAY”]
108.WAP to check whether the first item of these two lists either integer or not. If it is
integer concatenate these two lists or else print memory address of these two lists.
109.WAP to find digits of the number by using len function. If it is one print ‘One Digit’ along
with that number. If it is Two print ‘Two Digit’ along with that number. If it is three prints ‘Three
Digit’ along with that number. If it is greater than three just print that number.
110. WAP to check whether the given item is present in the third item of the list or not. If it is
present print first item of the list. If it is not print last item of the list.
111.WAP to check given input character is vowel or not. If it is vowel print ascii value of that
character. If it is not print square of that ascii value.
112.WAP to print middle number of the given input number when the given input number is odd. If
it is even print invalid number.
113.WAP to print character of the given input ascii values . If the given input number lays between
from 33 to 126 print the character of respective ascii number. If it is not print invalid number