Search the Community

Showing results for tags 'HelloWorld'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • General
    • Show Us Your Creations
    • Blog
    • Recommended Reading
  • One Stop Programming Tutorials
    • Python Beginner Series
  • Programming Languages
    • Python
    • C++
    • C#
    • Arduino
    • Other Languages

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hello! So I'm having a bit of trouble with the Hello World code. Here's my code. So, it is supposed to be set up if I type in my name, or Master, the the command prompt would greet me as master. If my mom were to type in her name or mom, it would profess my love to my dearest mother. With everyone else, it would print "Nice to meet you". Now, if I have it just be one string per if or elif statement, the code works fine. If I throw in an 'Or' statement for multiple strings, it doesn't matter what I type in, it will always address me as master. I don't know what happened, it was working fine when I first wrote it. I followed the tutorial on Youtube very closely and it helped a lot. I confess the trouble started after I added the variable myVar and attempted to get a number lock for it to adress me as Master. The solution to my problem is probably insanely obvious, but I am very new to Python and would really appreciate any help everyone could give me. Thank you in advance. ~Fulcon
  2. Hi does anyone know what this error message means or why I am getting it? C:\Users\Dean\Desktop>python helloworld.py Hello World What is your name?Dean Traceback (most recent call last): File "helloworld.py", line 2, in <module> myName = input("What is your name?") File "<string>", line 1, in <module> NameError: name 'Dean' is not defined I am using Notepad++ to do the editing and this is what I have typed in so far, pretty straight forward right..? print("Hello World") myName = input("What is your name?") print(myName) I have the .py file saved on my Desktop as you can see and there doesn't appear to be any error on my behalf. I've been following the video correctly (I think).