Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Wayoutfinisher

  • one year 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
  1. msmithhnova
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    This link has examples for 2.x and 3.x that will likely be what you want. http://stackoverflow.com/questions/5598181/python-print-on-same-line

  2. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find 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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.