0

Not printing Function! HELP!!!!

def getReady(): print("Enter an employee name or ",XXX, "to quit") input(employeeName) return print(getReady)

4th May 2020, 3:29 AM
Christian Sandoval
Christian Sandoval - avatar
5 ответов
+ 1
Hello Christian Sandoval, I think you are trying to achieve this : employeeName = input() or 'XXX' def getReady(name): print('Employee name is : ', name) getReady(employeeName)
4th May 2020, 4:16 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
What exactly are you trying to print?
4th May 2020, 3:49 AM
Slick
Slick - avatar
0
I was wanting to run the function to see if it works
4th May 2020, 4:02 AM
Christian Sandoval
Christian Sandoval - avatar
0
when you call a function it needs () and since the print call is IN the function, no need to call print on the function itll look like getReady()
4th May 2020, 4:05 AM
Slick
Slick - avatar