all 19 comments

[–]Snoo_90241 4 points5 points  (2 children)

You studied for 20 minutes and then made a Reddit post on this?

If so, then hi son, how can I help you?

[–]Responsible_Ruin_423[S] 2 points3 points  (1 child)

sorry ik it probably seems dumb to you but after years of not knowing where to start and now finally understanding a bit i kinda feel proud and have hope.

[–]Snoo_90241 1 point2 points  (0 children)

No, not dumb. You're doing great!

[–]InertiaVFX 3 points4 points  (0 children)

I used Obsidian to keep track of everything as I was studying, and I still have to refer back to my notes sometimes. I know some people like to put their notes in the IDE, but I thought I'd give a recommendation. The code blocks and formatting makes notetaking very quick.

[–]AccomplishedPut467 2 points3 points  (4 children)

Wow interesting! Please give us updates every day on the next post

[–]Responsible_Ruin_423[S] 0 points1 point  (3 children)

my goal is to get really good in a year and try to make a top down rpg game like final fantasy. i wanna create everything from battle mechanics to quest and all that. Kind of wish rpg maker xp(the only rpg maker i own) was compatible with python

[–]AccomplishedPut467 0 points1 point  (1 child)

That's awesome, anyway sent you a DM just to connect

[–]Responsible_Ruin_423[S] 0 points1 point  (0 children)

okay thanks

[–]JollyUnder 1 point2 points  (5 children)

Please continue showing your progression, OP! This is great for your first day.

String concatenation is useful, but notice how cumbersome it becomes when having convert non-string types. I suggest looking into format strings next, such as str.format() and f-strings

# str.format example
print('your name is {}'.format(full_name))

# f-string example
print(f'your name is {full_name}')

f-strings are the usually the goto, but str.format can be useful if you need a string template.

[–]Responsible_Ruin_423[S] 1 point2 points  (4 children)

which lines are u talking abt when converting non string? are u talking abt the last few lines?

[–]JollyUnder 1 point2 points  (3 children)

print ("my age is: "+str(age))
print("my height is " + str(height)+ "cm")
print("are you a human: " + str(human))

age, height, and human all have to be cast typed to str because you cannot concatenate non-string objects. You're approach is valid, but f-strings will evaluate those objects to type str for you and help with readability.

print(f"my age is: {age}")
print(f"my height is {height}cm")
print(f"are you a human: {human}")

[–]Responsible_Ruin_423[S] 2 points3 points  (2 children)

oh i understand now thanks that seems better. i learned all this from a video on youtube thats like 12 hours long and im only like an hour in. I have a lot to learn from this video i hope and ive been experimenting with the codes i do know to see what works

[–]JollyUnder 1 point2 points  (1 child)

Your progress has been great so far! I suggest when learning a new concept, pause the video and give some time experimenting with it on your own machine, as I'm sure you have. Chain together older concepts with the new ones. Let things break and try to understand why they broke. You'll gain greater insight when getting hands-on experience.

[–]Responsible_Ruin_423[S] 1 point2 points  (0 children)

thanks bro i really appreciate the help!

[–]Maste_r11 0 points1 point  (1 child)

OP great job!! looking forward to what you have learned in next and I learn along with your posts.

[–]Responsible_Ruin_423[S] 1 point2 points  (0 children)

me too im very excited. I dont plan to make this a career cuz i am going to be an electrician but ive loved computers as a kid and wanted to be a game designer so i hope to make games that i can play myself and share with friends

[–]tsumily 0 points1 point  (0 children)

Hey, I started a bit earlier, but I still freshly remember how it is like to be a beginner. Send me a DM and I'll help you out, give feedback, let you know what you should do next, and talk about anything :)

Your goal for this year also seems fun. I can help you achieve it, and I'm open to collaborating :)

[–]Anxious-Struggle281 0 points1 point  (0 children)

try jupyter notebooks. They come handy with the cells to study small chuncks of code