Professional Documents
Culture Documents
Elif
Elif
3) WAP to print the value as it is only if the length of the value is even
a=eval(input(‘enter ‘))
if type(a)==[set,dict,list,tuple,str]
if len(a)%2==0:
print(‘the value is:’a)
else:
print(‘give another datatype’)
else:
print(‘another datatype’)
4) Wap