printing - How to repair whitespace in a Python script? -


so i'm new python , guess i've deleted spaces @ beginning of script don't know where.

print("hey, i'm chatmaster! what's full name?") x = input() print(x,"died several years ago.. how did die?")  y = input () print (y, "... wow.. that's terrible... how here? soul haunting mainframe??") z = input() if z == "yes": print ("*demon voice* i'll have delete you.") print ("*session has ended. terminated in 5 seconds. type cancel  cancel") v = input () if v == "cancel": print ("chatmaster- nice try. you've been overriden.") print ("5") print ("4") print ("3") print ("2")   print ("1") if z == "no":     print (" don't believe *system shuts down.*") 

best guess (ps whitespace important):

print("hey, i'm chatmaster! what's full name?") x = input() print(x,"died several years ago.. how did die?") y = input () print (y, "... wow.. that's terrible... how here? soul haunting mainframe??") z = input() if z == "yes":     print ("*demon voice* i'll have delete you.")     print ("*session has ended. terminated in 5 seconds. type cancel  cancel")     v = input ()     if v == "cancel":         print ("chatmaster- nice try. you've been overriden.")         print ("5")         print ("4")         print ("3")         print ("2")         print ("1") if z == "no":     print (" don't believe *system shuts down.*") 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -