0

How to use an input function within another function?

https://code.sololearn.com/cw0917AJr70s/?ref=app

7th Mar 2020, 5:39 PM
Captian A
6 Antworten
+ 4
mytxt = myfunction(input()) or cleaner way str = input() mytxt = myfunction(str)
7th Mar 2020, 5:53 PM
Taste
Taste - avatar
+ 2
language ?
7th Mar 2020, 5:46 PM
Taste
Taste - avatar
7th Mar 2020, 5:47 PM
Captian A
0
any code ? i dont really inderstand what you're trying to do
7th Mar 2020, 5:48 PM
Taste
Taste - avatar
0
def myfunction (x): return x[::-1] mytxt = myfunction("shjsnssns") print(mytxt)
7th Mar 2020, 5:51 PM
Captian A