Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
coding doesent work???
#3
Hello!
Use the python code tags, please!

print ("hello world")
myName = input("what is your name?")

if myName.lower() == "louis":
    print("Louis is so amazing")

else:
     print("you are ok")
You forgot ':' after else.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
coding doesent work??? - by Darbandiman123 - Dec-22-2016, 06:45 PM
RE: coding doesent work??? - by micseydel - Dec-22-2016, 07:10 PM
RE: coding doesent work??? - by wavic - Dec-22-2016, 07:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  my coding doesn't work plz help Darbandiman123 6 5,290 Feb-03-2017, 05:27 PM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020