Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Buy a domain name - Register cheap domain names from $0.99 - Namecheap

Scalable Hosting That Grows With You

Secure & Reliable Web Hosting, Free Domain, Free SSL, 1-Click WordPress Install, Expert 24/7 Support

Semrush - keyword research tool

Boost your online presence with premium web hosting and servers

Disclosure: My content contains affiliate links.

39,854 questions

51,775 answers

573 users

How to multiple print on the same line in Python

2 Answers

0 votes
print('python php', end=" ")
print('c c++ c#', end=" ")
print('java')




'''
run:

python php c c++ c# java

'''

 



answered Apr 10, 2021 by avibootz
0 votes
import sys

sys.stdout.write('python php' + ' ')
sys.stdout.write('c c++ c#' + ' ')
sys.stdout.write('java')



'''
run:

python php c c++ c# java

'''

 



answered Apr 10, 2021 by avibootz

Related questions

1 answer 140 views
2 answers 195 views
1 answer 137 views
137 views asked Feb 15, 2023 by avibootz
1 answer 147 views
1 answer 144 views
1 answer 126 views
126 views asked Jul 17, 2020 by avibootz
...