• 3 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle

  • I think you need to look into string concatenation, the easiest and best of which is f strings. You could do something like;

    print(f’welcome, {nam}')

    You could also “add” the strings together.

    print('welcome, ’ + nam)

    Another thing, when assigning the output of something to a variable, you can think of it as “the result of the code right of the equals sign is the value of the variable”.

    The input function assumes that the value should be interpreted as a string, but what if want it to be a number? You can just wrap another function around your input

    user_number = int(input(‘what’s the number?’))


  • Your experience may vary but I’m a network engineer who learned Python and I think learning regex and pandas is invaluable. Depends on what you want to build though. As far as learning resources, I’ve always liked w3schools, it’s free and to the point.

    For books, python 101 by Michael Driscoll is very good. I wouldn’t spend money on courses. They can be pretty demotivating and expensive.





  • Agreed. I think we took self expression too far. Things like the Internet, hip hop, counter culture etc definitely changed how we express ourselves. I cringe at the idea of how I defended the use of words and phrases even as an adult, hiding behind defenses like “intent matters”. It wasn’t until I was in my late 20s that I started to think about how the things that I express might be harmful to others. Thankfully I don’t see many kids act like we acted. I even caution my son against the use of phrases that might be worded too strongly, such as something “being stupid”. If we can give our children a world to inherit, I think they can come closer than we’ve ever been to world peace.








  • Played the shit out of tlou multiplayer. It felt like something that got added to the game with little effort or creativity and it came out amazing. When TLOU2 was released I was saddened to hear that there would be no multiplayer yet but that it was coming. It didn’t need to be much. It could have been the same multiplayer experience with some new maps. Uncharted3 and uncharted 4 multiplayer was great. The community really made the multiplayer what it was. That’s where NickEh30 started making content I loved watching SanchoWest on YouTube going over some of his favorite plays.

    Really sucks that companies get away with this “we’ll finish out the game after the release” and there’s no consequence. It was promised.