+ 1

I need help

I wanna create two functions. First function taking user input & Second function taking that user input and iterating each character in new line.

26th Apr 2022, 3:44 AM
Mir Hamza
Mir Hamza - avatar
8 Respostas
+ 4
Mir Hamza you should learn how function calling and passing parameters to a function work and one more point you can only take input in sololearn at the beginning https://code.sololearn.com/cLKp84eTPWy9/?ref=app
26th Apr 2022, 6:02 AM
NonStop CODING
NonStop CODING - avatar
+ 2
God bless you brother. It worked
26th Apr 2022, 5:04 AM
Mir Hamza
Mir Hamza - avatar
+ 1
Mir Hamza show us your code first
26th Apr 2022, 3:49 AM
NonStop CODING
NonStop CODING - avatar
+ 1
Mir Hamza you need to call the 2nd function and pass the inpt to 2nd function during its calling 👇👇👇👇👇 https://code.sololearn.com/c6iK68170zCh/?ref=app
26th Apr 2022, 4:00 AM
NonStop CODING
NonStop CODING - avatar
+ 1
Bro, if you don't mind please explain how to solve this one. https://code.sololearn.com/cVx64n9ZVXTj/?ref=app
26th Apr 2022, 5:50 AM
Mir Hamza
Mir Hamza - avatar
0
def user_input (): inpt = input ("Enter something:") return inpt def iteration(): for char in user_inpt (): print (char)
26th Apr 2022, 3:53 AM
Mir Hamza
Mir Hamza - avatar
0
I just want user_input function value in second function. I don't want it to execute again & display me "Enter message: " again.
26th Apr 2022, 3:55 AM
Mir Hamza
Mir Hamza - avatar
0
Where are your challenge
26th Apr 2022, 6:33 PM
Eminex
Eminex - avatar