• 0 Posts
  • 9 Comments
Joined 5 months ago
cake
Cake day: March 20th, 2024

help-circle



  • No, nam is a placeholder for whatever is inputed into the function input by the user when the program is ran. Input prints to screen whatever you put () when you first call it. It expects something to then be inputted by the user when the program runs by prompting the user with the message in the (). Whatever the user inputs is then referred to by the variable, in this case “Chuck” was inputted.

    It will make a bit more sense when you start writing functions, you can return whatever results you want from calling a function. Those returns will be referred to by the variable you label it, word on the left of the =.

    In short, whatever is returned by a function is what is “saved” in the variable.






  • ninjaturtle@lemmy.todaytoLinux@lemmy.mlYour first distribution
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    My first, I’m pretty sure, was Ubuntu but for playing around with.

    My first one that I stayed with and kept as an actually OS was PopOS. Haven’t changed since. Works well and does what I need. Can’t wait to see what Cosmic has in store.

    As for what made me go to Linux. Windows was cumbersome to program in. Had to use another app to run command lines, putty. Used Linux terminals before and knew that it was easier to run programs from command line so I decided to give the desktop a try. So much better! Ended up keeping Linux because it was faster, more clean, and I was able to accomplish majority of the tasks I used windows for. For the things that don’t work on Linux, I have other devices for.