+ 1
Getting a weird error
def rep(): x=input() y=str(x) print (y) print (rep)
3 Antworten
+ 6
you need to activate the rep function with ()
rep()
also, since rep() does not return value and you encased it with print(), you will have also None as output in the bottom
just replace print(rep) with rep()
+ 4
^_^
0
def rep(e):
x=input()
y=str(x)
print (y)
rep (input)
new code, thanks!