Saved Bookmarks
| 1. |
Write a program in python to display the square of an element if it is an integer andchange the case if the element is a string. List contains both integers and strings.If the List L is : [10, “FUN”, 40, “FEW”, 50, “FULL”]The final list should be: [100, “fun”, 1600, “few”, 2500, “full”] |
| Answer» | |