0
How to use an input function within another function?
5 ответов
+ 4
mytxt = myfunction(input())
or cleaner way
str = input()
mytxt = myfunction(str)
+ 2
language ?
+ 1
0
any code ? i dont really inderstand what you're trying to do
0
def myfunction (x):
return x[::-1]
mytxt = myfunction("shjsnssns")
print(mytxt)