• print(My_Life,My_Choices,My_Pov)

    Quale modo migliore per iniziare, se non presentarmi?
    Questo potrebbe aiutarvi a capire meglio perché ho fatto certe scelte e perché sto per farne altre.

    Sono abbastanza selettivo riguardo alle persone che voglio attorno a me. Ora sono ancora giovane, ma anche quando ero più giovane non ero davvero interessato alle stesse cose a cui erano interessati molti della mia età… come andare a ballare, stare fuori la notte in posti affollati o ubriacarsi.
    Ho sempre preferito i posti tranquilli, piccoli gruppi di amici, magari semplicemente sedersi al bar e parlare.

    In questo momento ho solo un paio di amici, ma siamo tutti molto impegnati (o almeno, pensiamo di esserlo) tra studio e/o lavoro, quindi la comunicazione… beh, diciamo che non è proprio al suo meglio.

    Come ho già accennato nella home page, sono in una relazione davvero bellissima (e no, non lo dico solo perché lei sta leggendo questo👌).

    Stiamo per raggiungere il nostro terzo anno insieme e, tra circa 3 o 4 mesi, ci trasferiremo a… ehm… A BENLAND, SÌ, BENLAND in Italia, ovviamente.

    Lei si laureerà il mese prossimo con una laurea triennale e poi continuerà gli studi per ottenere una magistrale.

    Per quanto riguarda me, ho un diploma di un istituto tecnico industriale (ITI), specializzazione informatica… una scuola che, in realtà, non ho mai davvero voluto frequentare.

    Non è stata veramente una mia scelta, ma non è questo il punto.
    Diciamo semplicemente che non ho niente di concreto in mano.

    Dopo la scuola ho deciso di andare subito a lavorare. Col senno di poi, sceglierei l’università mille volte.
    Meglio tardi che mai: ora voglio provarci.

    Ho sempre amato la finanza, la matematica e anche l’idea della programmazione. Ma non ho mai avuto il tempo di esplorarle davvero, soprattutto perché tutto ciò che sto facendo al momento non ha nulla a che fare con questi interessi.

    Attualmente lavoro dalle 9:00 alle 17:30, ma quando mi trasferirò passerò al part-time (sempre lo stesso lavoro, sono molto flessibili) così da fare spazio all’università.

    Lavoro per una grande azienda con stipendi non così grandi (hehe), ma comunque… è un lavoro piuttosto carino, un ruolo senza competenze particolari, che chiunque potrebbe fare. Per dirla semplice: valutiamo le risposte dell’IA e i nostri feedback aiutano a sviluppare nuove funzionalità.

    Anche se non mi piaceva la mia scuola, devo dire… sicuramente non è stata molto utile, ma almeno non è stata controproducente.
    Ora che voglio riprendere con la programmazione, non parto da zero.
    Voglio combinare ciò che ho imparato con ciò che imparerò, così da poter dire che non ho buttato via niente.

    Chissà, magari la mia laurea magistrale sarà qualcosa che unisce finanza e programmazione.

    Allora, perché Python? Perché la finanza? Perché Excel?

    Python accende la mia curiosità:
    E se investissi in questo modo? E se cambiassi quella variabile? Cosa succederebbe al mio piano tra cinque anni?
    Voglio trasformare la curiosità in comprensione.
    Perché limitarmi a leggere come funzionano le cose quando posso smontarle e capirlo da solo? 😂

    Trovo la finanza affascinante perché è un argomento che si ritrova nella vita di tutti i giorni. Influenza il modo in cui le persone prendono decisioni e come reagiamo all’incertezza.
    Imparare sul “denaro” significa imparare ad avere opzioni.

    Credo che ciò che mi attiri di più sia la gestione del portafoglio. L’idea di avere le stesse risorse degli altri e riuscire comunque a ottenere risultati completamente diversi semplicemente combinando i pezzi del puzzle in modo diverso.

    Se fosse davvero così semplice, non esisterebbero i consulenti finanziari.

    Per molte persone, la vita segue lo stesso ritmo: guadagnare, guadagnare, guadagnare – spendere, spendere, spendere.

    Senti parlare di famiglie di due persone che guadagnano 1800 euro e fanno fatica ad arrivare a fine mese, e ti chiedi: come è possibile?

    Ora, non sto dicendo che tutti debbano vivere in modo frugale, ma allo stesso tempo è irrealistico aspettarsi di mantenere uno stile di vita che non è in linea con il proprio reddito.

    Queste cose per me contano molto, ed è per questo che voglio darmi gli strumenti per dimostrare che il successo non è solo questione di fortuna o della convinzione che “alcuni possono e altri no”.
    Certo, ognuno ha le proprie circostanze, e questo conta tantissimo.
    Ma credo anche che, in alcuni casi, ciò che sembra sfortuna possa in realtà derivare da una mancanza di conoscenza o supporto nella gestione finanziaria.

    Ed è proprio questo che mi ha portato a Excel.
    Volevo poter analizzare i numeri, capire dove vanno i soldi e come potrebbero essere gestiti meglio.

    Comunque, mi piacerebbe aprire questo discorso al confronto. Ho intenzione di abilitare i commenti ed essere il più attivo possibile, così da poter imparare dagli altri, ascoltare prospettive diverse e magari condividere qualcosa di utile anch’io.

    Quindi sì: ecco perché Excel, perché Python, perché la finanza e perché tutto il resto.

  • “Excel”sises_1

    Hello,
    Here you can find some basic exercises, or “Excelsises” if you prefer, that might help you get started.
    It’s not much, but we’ve only just begun.

    I strongly recommend that you explore the software on your own: mess around, discover, create, destroy, click every button… and then, do not save the file! Hehe.

    1. On the Excel sheet, write the number “4” in cell “A1” and the number “10” in cell “B1”
      In cell “A3” write “Sum”
      In cell “A4” write “Subtraction”
      In cell “A5” write “Multiplication”
      In cell “A6” write “Division”
      Now write functions in the adjacent cells to display the result of each corresponding operation between the two numbers
    1. Color the result cells blue and center the values inside the cells.
    1. Convert the numbers to currency format.

    Solution 1)
    =A1+B1
    =A1-B1
    =A1*B1
    =A1/B1

    Solution 2)
    Select the cells that contain the values, go to the “Home” tab, and click the arrow next to the letter “A” with the red underline. Change the color from there.
    Move to the “Alignment” section and click the center alignment button in the second row.

    Solution 3)
    In the “Number” section, click the button with the banknote and coins icon.

  • print(“WELCOME TO EXCEL”)

    Hi there!

    In a totally amateur way, I’m putting together some videos that explain the basics of this amazing program.
    I decided to do it through video because, quite literally today, I discovered this Microsoft tool called Clipchamp, and I wanted to give it a shot.
    I needed a way to talk to you without actually talking to you in person.

    Everything you see here is 100% me: I’m the one using Excel, writing the script, and editing the video.
    No one is paying me for this, and although Clipchamp (at this level) is basically “video editing for dummies”, especially since I used one of their built-in templates for the cool intro, it still took me a solid three hours to put this together! 😄
    Hopefully, I’ll get the hang of it and get faster in the future.

    For now, please be kind and take this as a first trial.
    Video editing and content creation are not my job, and they’re not meant to be.

    If you’re curious about trying Clipchamp yourself, especially if you want to record your screen, there’s one thing to know:
    If you share a single application window, dropdown menus won’t show up in the final video.
    That’s because Clipchamp only records the layer you selected.
    To avoid this (and yes, you’ll notice a bunch of awkward cuts in my video because I didn’t know), just record your entire screen instead. That way, it works smoothly.

    If you’d like a short page on how I used Clipchamp, feel free to send me some feedback.
    I might put something together.

    Thanks a lot, and I hope you enjoy the video! 😊

  • Exercises
    1. Write a code that shows in the Terminal: “Hello, my name is Ben”
      • Ben needs to be in a variable.
    2. Write a code that shows in the Terminal the type of these variables:
      • a=12
      • b=1.5
      • c=”Hello”
      • d=True
    3. Set a=”Ben” and try to print “Hi, my name is Ben” without using the “f” before the quotation marks.
    4. Set a=”Ben” and b=”10″, print(a+b), you might discover something new.

    Solutions

    1.

    a="Ben"
    print(f"Hello, my name is {a})
    

    2.

    a=12
    b=1.5
    c="Hello"
    d=True
    print(type(a))
    print(type(b))
    print(type(c))
    print(type(d)) #We'll talk about this type of data next time :p
    

    3.

    a="Ben"
    print("Hi, my name is", a)
    

    4.

    As you can see the “+” between two strings functions as a concatenation operator!

  • Let’s code : Python – The very beninghin… in the beni… in the beninghing, yeah.

    To write and run Python code, I use Visual Studio Code (VS Code), I find it intuitive and you can install tons of useful extensions.

    Since I want to draw a line through my journey that truly starts from zero,
    I’m going to document everything step by step, even the most basic concepts.

    If you think that I’m missing something just let me now, write me an email specifying what page or which part of the page can be adjusted 😂.

    To start you have to:

    • Download VS Code
    • Install Python extension (search Python in the Extension tab on the left)
    • Open a folder where you’ll save your Python files
    • Create a new file and give it a name (you have to add “.py” at the end – test.py)
    • Save the file on the just created folder.
    • press Enter

    💡 You can also use Google Colab to test code quickly but we’ll look at that later.

    What now?

    So, programming is just a way to give instruction to a computer using a language it can “understand”.

    If I want a human to say “Hello” I just say:

    Say “hello”!

    With Python, we unfortunately can’t do the same thing.
    It’s still simple though:

    print("hello") 
    

    print is a predefined/standard function.
    When you write this function, Python already knows what it’s supposed to do.
    When you run (or execute) this line of code, a small area will appear, like a little screen, where you can see the result.
    From now on, we’ll call this area the Terminal.

    In this case the Terminal will show:
    "hello"

    What do you need to know now?
    Well, keep in mind that data have a type whose purpose is to let Python (or any other language) know how they need to be managed.

    Let’s keep it simple… what’s 1, 2, 3, they are integers… for Python they are just int.
    What about decimals? 1.8, 12.6, for Python they are float.
    Last one, what is text for Python? text is str

    There’s a way to know what type a data is if you’re unsure:

    print(type("ciao"))
    print(type(12))
    print(type(1.5))
    

    This will return:
    str
    int
    float

    Just keep this in mind for now…

    So, back to us…

    When we write “print(----)” the space between parenthesis can be also used like a calculator

    print(3 + 2)
    

    The Terminal will show: 5

    There’s more, we have Variables to which we can assign values.
    To do so, we just need to define them and use them after.

    In Python, to define a variable, you simply write the variable name, an “=”, and the value you want to assign.

    The “=” is the “assignment operator”
    There are many other operators but we’ll go through them one at a time.

    Here’s an example:

    a = 5
    print(a)
    

    Why do we have to use variables?

    Let’s use an other example

    print(10 + 3)
    print(20 + 3)
    print(30 + 3)
    print(40 + 3)
    

    Oh no…wait… I change my mind, I want to add to every number the number 4 instead of 3…

    Well… Now you have to do it manually for every time you used number 3

    OOOR you can just…

    a = 3
    print(10 + a)
    print(20 + a)
    print(30 + a)
    print(40 + a)
    

    You changed your mind, again?

    no problem, just transform a=3 in a=4 and voilà, all your calculations are updated.

    A good way to organize variables is to name them in a way you can easily recall what they serve for.

    Imagine this:
    You’re coding, you’ve got 20 variables, and you need to do calculations with them…
    But all the variable names are things like lightbulb, chihuahua, television.

    chihuahua=10
    television=5
    lightbulb= chihuahua+television
    print(f"the sum is {lightbulb}")
    

    Very, very bad move.

    Make your life easier, just name things with some logic, please.

    When you read your code a week later, you don’t want to play detective.

    Trust me.

    Look at the same code now:

    # same code with logic
    a=10
    b=5
    sum=a+b
    print(f"the sum is {sum}")
    # or
    a=10
    b=5
    print(a+b)
    

    Minimum effort, maximum result.

    Ok, let’s explain ALL:

    If you’ve been paying attention, you probably noticed that I wrote some weird stuff earlier.

    Let’s break it down:
    Besides naming variables logically, there is another way you can really make your life easier when coding:

    Comment your code!

    Whaat?

    yes, comment it, I know you know what you wrote, and you don’t need explanations… of course… right? WRONG.

    Look at this code:

    n_s=random.randint(1,20)
    a=None
    while a!=n_s:
        a=int(input("Choose"))
        if a==n_s:
            print("Good!")
            break
        elif a>n_s:
            print("Lower")
        elif a<n_s:
            print("Higher")
        else: pass
    

    I voluntarily picked this code because, at this point… like… what the fuck is this?
    BUT, even if this code is a next-level step, at least the person who wrote it, could’ve made it simpler to understand for whoever’s reading it… Do you agree?
    Yes? Niiice!
    DON’T BE THAT PERSON THEN!

    Soon or later someone else will read your code, make both of your lives easier 😂.

    To add a comment in your code, just use the # symbol.
    Everything written after the # on that line will be ignored by Python when the program runs.

    Comments are useful to explain what your code is doing. They don’t affect how the program works, but they help you (and anyone else reading your code) understand it better,especially if you come back to it after a few days or weeks.

    Now, let’s review the same code using these tips:

    import random  # Import the random module to generate random numbers
    
    # Generate a secret number between 1 and 20
    secret_number = random.randint(1, 20)
    
    # Initialize the user's guess variable
    guess = None
    
    # Keep asking the user until they guess the correct number
    while guess != secret_number:
        # Ask the user to input a number
        guess = int(input("Choose a number: "))
    
        # Check if the guess is correct
        if guess == secret_number:
            print("Well done!")  # Congratulate the user
            break  # Exit the loop
        elif guess > secret_number:
            print("Too high")  # Hint: the guess was too high
        elif guess < secret_number:
            print("Too low")  # Hint: the guess was too low
        else:
            pass  # This branch won't actually be reached, but included for completeness
    
    

    Of course, for now, this code is still out of reach, but the comments at least show you what it’s all about

    In conclusion, last but not least…
    what’s that f in front of a string?

    When you want to show something on the screen, you use the print() function.
    But if you want to mix text and variables in the same sentence, you need to follow some special formatting rules and adding an f before the quotation marks it’s a way to not give a fuck about them…

    The only thing to remember is that the variables need to be enclosed by curly brackets and you’re cool!

    I think it’s enough for now, I will soon put exercises and solutions about this topic here!