In python I want a lambda which return space characters equal to the input.
for example.
x=lambda x: return space x times
print "my message",x(10),"my message 2"
Output:
my message<10 space>my message 2
This will cater my need in a particular situation.
I can write a function for this but if this could be done?
Something like: