Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

scarson

  • 2 years ago

I was working on the rock paper scissors exercise from handout 1 (ex. 1.7). When I tried to run an early version of the program it gave me an empty prompt above the first raw_input statement and I had to hit return to get the program to proceed. There was no visible code causing this, but when I eliminated a few empty lines at the top of the program, the problem resolved and it went straight to the first raw_input. Anybody know what caused this and how to avoid it? It really threw me.

  • This Question is Closed
  1. walne
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I'm not totally certain; but I can conjure a guess that it has to do with Python's use of white space.

  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.