0

Can you help me with this question I am unable to understand how to solve it

create & print a variable, other_word, made of every other letter in long_word long_word = "juxtaposition"

27th Jul 2018, 12:20 AM
Danish Aman
Danish Aman - avatar
2 Answers
0
You need to say what language you are working in and would be good to show any progress you have made. Here is one way to do it in python https://code.sololearn.com/cAkA0fPKDps7
27th Jul 2018, 4:46 AM
JME
0
It means a print second letter of long_word and saves in other_word variable and output would be: jxaoiin you can get out by following code but it's not fullfill the requirement of the question. # [ ] create & print a variable, other_word, made of every other letter in long_word long_word = "juxtaposition" other_word= '' for letter in long_word: print(long_word[::2]) break
24th Jan 2020, 11:04 PM
Ali Raza
Ali Raza - avatar