[New-bugs-announce] [issue34258] Python shell keeps restarting

Aleksa Bulatovic report at bugs.python.org
Sat Jul 28 06:59:29 EDT 2018


New submission from Aleksa Bulatovic <purpleguygamer582 at gmail.com>:

I was writing a code for my test in idle python.When i run the module it's just keeps restarting.
This is my code:

sins = 0
check = input()
if check == "check_sins":
        print(sins)
second = input("Ok,you can start when you are ready,type Im Ready! if you want to start the game")
print("Welcome to How smart are you test")
name = input("What's your name? ")
print(name)
if name == "Dimitrije":
    print("Nice to meet you Dimitrije")
start = input("Ready to start the test: ")
if start == "Yes":
    print("A) Gorillaz")
    print("B) Alvin and the chipmunks")
    print("C) Despacito 2")
    print("D) Who are you even")
    q1 = input("Which was the first animated band ever created? ")
    a1 = "A) Gorillaz"
    b1 = "B) Alvin and the chipmunks"
    c1 = "C) Despacito 2"
    d1 = "D) Who are you even"
    if q1 == "A" or q1 == "a":
        print("You are right,adding 10 sins for that")
        sins += 10
    else:
            sins = sins - 10
    print("A) Milan")
    print("B) ")
    print("")
    print("")
else:
    print(second)
    if start == "Im ready!":
        print("Ok,let's start")
    print(q1)
    print(a1)
    print(b1)
    print(c1)
    print(d1)
    if q1 == "A":
        print("You are right,adding 10 sins for that")
        sins = sins + 10
Note:I started learning python yesterday and sins are just a refrence of the youtube channel name called CinemaSins.So don't judge.

----------
components: Windows
messages: 322542
nosy: Cross!Alex21, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Python shell keeps restarting
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34258>
_______________________________________


More information about the New-bugs-announce mailing list