• nathanjent@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    What is the type of the variable day though? As it is we have to make multiple assumptions, based on popular programming languages, about the internals of the string type and the print function to assume that it prints “6”.

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      There is a fairly good chance that there has been more info presented in the class than we have been given here.