the Extra-Terrestrial code coach. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

the Extra-Terrestrial code coach.

I had just learnt about lists when I saw this assignment and naturally I thought I should use list. halfway through I figured that there must be a simpler way of doing it but I continued. it was a bit confusing but also very fun. Here is what I finally ended with: print('Insert a word below please') english_word = str(input()) word= list (english_word) alien=[] m = len (word) n=1 while m>= n: alien_english = english_word[-n] alien.append(alien_english) n+=1 new_word=''.join(alien) print (new_word) I know!! that is some long code fore something so simple :P just thought I'd share :)

8th Jun 2020, 8:23 AM
Nina Intercrossed
Nina Intercrossed - avatar
2 Answers
+ 1
Sorry mate , this place is not for sharing your code-bits If you have any question then only use this section..... I you wanted to show your codes to public then simply make this code public . So anyone can see it .
8th Jun 2020, 8:27 AM
👑FabVab👑
👑FabVab👑 - avatar
0
Yeah I just saw the code playground!!! sorry I should have posted it there :/
8th Jun 2020, 8:38 AM
Nina Intercrossed
Nina Intercrossed - avatar