Q. Write expression to convert the values 17, len('ab') to


(i) = integer (ii) str (ii) Boolean values 

 
Answer = 
 
(i) int (17)  , int (len(‘ab’))

(ii) str(17) , str(len(‘ab’))  

(iii) bool(17)  , bool(len(‘ab’)) 

 

You can uderstand by watching videos -----




1 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post