A community for students.
Here's the question you clicked on:
← 55 members online
 0 viewing
Wayoutfinisher
 2 years ago
Hello, when using the iterator,is there a way to put the output of a code in the form of one line rather than a group of repetitive lines ?
Here is my output from the code:
Multiples of 3 that is less than 10 is 6
Multiples of 3 that is less than 10 is 9
Wayoutfinisher
 2 years ago
Hello, when using the iterator,is there a way to put the output of a code in the form of one line rather than a group of repetitive lines ? Here is my output from the code: Multiples of 3 that is less than 10 is 6 Multiples of 3 that is less than 10 is 9

This Question is Open

msmithhnova
 2 years ago
Best ResponseYou've already chosen the best response.0This link has examples for 2.x and 3.x that will likely be what you want. http://stackoverflow.com/questions/5598181/pythonprintonsameline
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.