Skip to content
murmot

Results for “python script hello world example code java 8 program youtube site:discuss.python.org”

  • discuss.python.org

    Python as functional programming language

    Nov 10, 2023 ... This makes it natural to design and use higher-order functions. Python has a lambda (anonymous function) syntax, using the keyword lambda . It ...

  • discuss.python.org

    Beginner Confusion - Python Help - Discussions on Python.org

    Feb 12, 2024 · I tried opening a file using: python hello.py But it’s not working ‘hello’ I s the name of my file. I saved it under the fileextension .py. I don’t know what is wrong. The only thing in my code is Print (“Hello World”) And it still didn’t work. I know it’s like dumb and funny but I feel stupid. I can’t even figure out what is ...

  • discuss.python.org

    Basic help with code - Python Help - Discussions on Python.org

    May 18, 2023 · I was doing some Python basic exercises and came across this question: (First, in my code what did I do wrong, and was my thought process in the right direction?) Q: Write a Python program that accepts the user’s first and last name and prints them in reverse order with a space between them. My answer was the following I had an idea but couldn’t think of the correct way/code/format to ...

  • discuss.python.org

    Complete beginner needs help - Discussions on Python.org

    Oct 24, 2022 · Hello World (…;))) I just started with Python. I am a absolute beginner. Started with the beginner tutorial of “Programming with Mosh”. Iam working on this car game with a while loop. Somehow the coding doesnt seems to be correct. When I enter the input words nothing happens. Maybe one of you can see my fault.

  • discuss.python.org

    Hello world invalid syntax - Python Help - Discussions on ...

    Sep 22, 2024 · Hello 🙂 Could anyone explain me please how to fix it. . I just watching first video by Corey Schafer and do exactly the same but already error… I can’t open saved file. When in python terminal or cmd i type: python/Desktop.intro.py i have invalid syntax… I’m sorry for silly question. Thank you.

  • discuss.python.org

    From Bash to Python - Python Help - Discussions on Python.org

    With python you can uses classes to help organise the scripts logic. I would not convert line for line. Rather think about the design of the script and use the power of python to create a simpler, easier to maintain script. Unless the script is small I tend to start with

  • discuss.python.org

    My first coding assignment in Python

    Mar 23, 2024 · For example, did you open a text editor and start writing code in a new file? Did you use the interactive Python prompt (by running python in a command window)? Are you using an IDE (a program for editing code - such as IDLE, which comes with Python, or PyCharm, or VSCode, or Spyder, etc.? Which one?)? Something else?