Skip to content

String & List Problems

ZekeLabs Technologies Private Limited edited this page Dec 4, 2016 · 5 revisions
  • Given a list of strings, print all the words that start with 'a'.
  • Given a list of numbers, find all the numbers which are less than 0 & put them in different list
  • For a list containing numbers & string, create two lists - one containing numbers & other containing strings
  • Given a list of words( multiple words ) ['hello world','good lord','great friends'], find the longest word/sentence
  • Given a list of numbers, find all the numbers that are multiple of 2
  • Replace all the 'vowels from the text with space

Clone this wiki locally