Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4115832
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:37:59+00:00 2026-05-20T22:37:59+00:00

I am having trouble running this simple statement in the IDLE prompt. if True:

  • 0

I am having trouble running this simple statement in the IDLE prompt.

if True:
    print("True") # need to press ENTER twice?
else:
  print("False")  # need to press ENTER twice?

Any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:38:00+00:00Added an answer on May 20, 2026 at 10:38 pm

    IDLE is automatically indenting when you press return. Press delete to remove the automatic indentation.

    if True:
        print("True") # press return, then backspace
    else:
        print("False")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running pywin32 build 216.1 and am having trouble using the simple print function
Hey, this is probably a simple question, but I am having trouble running my
Is anyone else having trouble running Swing applications from IntelliJ IDEA 8 Milestone 1?
I am having trouble running a simple sql query in Microsoft SQL Server 2005
This seems like a simple question, but I am having trouble finding the answer.
I'm having trouble running a complex query against our company LDAP server. I'm using
I'm having trouble running gprof on OS X. The file test.c is: #include <stdio.h>
I am having trouble running a Java program with Windows Powershell 2.0. Any help
I am having trouble running Purify on Suse Linux. Here are the version details:
I tried to install the Yahoo BOSS mashup framework, but am having trouble running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.