Join IDNLearn.com to access a wealth of knowledge and get your questions answered by experts. Whether it's a simple query or a complex problem, our community has the answers you need.
how to print something nad input on same line python
To get everything on one line with two inputs is not (easily) achievable, as far as I know. The closest you can get is: print 'I have', a=input() print 'apples and', p=input() print 'pears. '
Your participation means a lot to us. Keep sharing information and solutions. This community grows thanks to the amazing contributions from members like you. IDNLearn.com is dedicated to providing accurate answers. Thank you for visiting, and see you next time for more solutions.