+ 1

Does anybody have a python solution for the extraterrestrials code coach challenge

[solved]

11th Jun 2020, 8:04 AM
Sanket Pareta
Sanket Pareta - avatar
30 Respuestas
+ 7
sorry to say but you first try it and link your code in the question ... if you try hard and need help then we can do something... its not valid to share codes of code coach ... cuz u wont learn anything if we directly give you its solution... so please try first...
13th Jun 2020, 1:46 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 4
nice 👍👍 sanket pareta
13th Jun 2020, 7:18 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 3
Ryan Daniel Thank you but I am already solve this problem 😊🤗
12th Jun 2020, 1:13 PM
Sanket Pareta
Sanket Pareta - avatar
+ 2
sanket pareta Just do this print(input()[::-1])
12th Jun 2020, 8:43 PM
Varun N
Varun N - avatar
+ 2
Prashanth Kumar I am already solve this problem 😊
13th Jun 2020, 4:09 AM
Sanket Pareta
Sanket Pareta - avatar
+ 1
No I remove extra statement...tab bi right solution nhi aaya
11th Jun 2020, 8:57 AM
Sanket Pareta
Sanket Pareta - avatar
+ 1
Thanks I get ut
11th Jun 2020, 9:18 AM
Sanket Pareta
Sanket Pareta - avatar
+ 1
Word=input() print(word[::-1]) # The easiest way
11th Jun 2020, 4:09 PM
Baratov Hojiakbar
Baratov Hojiakbar - avatar
+ 1
Xojiakbar can you tell me how can I solve my all 5 case 😉 because I can solve only one not all
12th Jun 2020, 4:45 AM
Sanket Pareta
Sanket Pareta - avatar
+ 1
You can also use list function word=str(input()) l1=list(word) for i in range(len(l1)): print(l1[len(l1)-1-i],end="") or word=str(input()) l1=(list(word))[::-1] print("".join(l1))
12th Jun 2020, 5:47 PM
UnknownX
UnknownX - avatar
0
I try to solve it for right code but my output is different
11th Jun 2020, 8:17 AM
Sanket Pareta
Sanket Pareta - avatar
0
def reverse(string): string = string[::-1] return string s = "garbage" print("the original string is :" , end="") print (s) print ("the reversed string(using extended slice syntax) is :", end="") print (reverse(s))
11th Jun 2020, 8:29 AM
Sanket Pareta
Sanket Pareta - avatar
0
~ swim ~ tell me solution you delete your post☹️
11th Jun 2020, 8:47 AM
Sanket Pareta
Sanket Pareta - avatar
0
def reverse(string): string = string[::-1] return string s = "garbage" print("the original string is :" , end="") print (s) print (reverse(s))
11th Jun 2020, 9:04 AM
Sanket Pareta
Sanket Pareta - avatar
0
Xojiakbar I try this already but it's doesn't work...
12th Jun 2020, 4:12 AM
Sanket Pareta
Sanket Pareta - avatar
0
sanket pareta I'm sorry for miswriting. word=input() print(word[::-1]) ""But in this way I solved the challenge, I don't know what went wrong""
12th Jun 2020, 4:43 AM
Baratov Hojiakbar
Baratov Hojiakbar - avatar
0
sanket pareta https://code.sololearn.com/cd3QCSRnW2Cs/?ref=app Input the longest word you know. E,g In Uzbek, "agromexanizatsiyalashtirimaganliklaridandirda".
12th Jun 2020, 5:42 AM
Baratov Hojiakbar
Baratov Hojiakbar - avatar
0
sanket pareta Here Is The Solution Of Your Problem: x=input() print(x[::-1])
12th Jun 2020, 12:47 PM
Rahul Saxena
Rahul Saxena - avatar
0
Clearer than that isn't it? Please input a bit more like you here.☺ https://code.sololearn.com/cEyUEx0j7Ocz/?ref=app
12th Jun 2020, 3:36 PM
DragoCoder
DragoCoder - avatar