pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
If you tell what is problem,I do not see any.
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
Why you do not print each value in list or join list values and print the string?
# back port input as raw_input if we run Python2
try:
input = raw_input
except:
pass
x = [input ("Hello, add your %s database entery: " % count) for count in ('first', 'second', 'third')]
print(', '.join(x))
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852