+ 1
Does anybody have a python solution for the extraterrestrials code coach challenge
[solved]
30 odpowiedzi
+ 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...
+ 4
nice 👍👍 sanket pareta
+ 3
Ryan Daniel Thank you but I am already solve this problem 😊🤗
+ 2
sanket pareta Just do this print(input()[::-1])
+ 2
Prashanth Kumar I am already solve this problem 😊
+ 1
No I remove extra statement...tab bi right solution nhi aaya
+ 1
Thanks I get ut
+ 1
Word=input()
print(word[::-1])
# The easiest way
+ 1
Xojiakbar can you tell me how can I solve my all 5 case 😉 because I can solve only one not all
+ 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))
0
I try to solve it for right code but my output is different
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))
0
~ swim ~ tell me solution you delete your post☹️
0
def reverse(string):
string = string[::-1]
return string
s = "garbage"
print("the original string is :" , end="")
print (s)
print (reverse(s))
0
Xojiakbar I try this already but it's doesn't work...
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""
0
sanket pareta
https://code.sololearn.com/cd3QCSRnW2Cs/?ref=app
Input the longest word you know. E,g
In Uzbek, "agromexanizatsiyalashtirimaganliklaridandirda".
0
sanket pareta Here Is The Solution Of Your Problem:
x=input()
print(x[::-1])
0
Clearer than that isn't it?
Please input a bit more like you here.☺
https://code.sololearn.com/cEyUEx0j7Ocz/?ref=app