-3

if I give input = development

output :

"de" , "ve" , "lo" , "pm" , "en" , "t"

how to create these programme

baduker
  • 19,152
  • 9
  • 33
  • 56

1 Answers1

-2

s = '"Canada", "Japan", "Germany", "Russia"' l = ['"{}"'.format(s) for s in s.split('"') if s not in ('', ', ')]

for item in l: print(item)