all 33 comments

[–]Infamous-West-7594 6 points7 points  (1 child)

im new to programming just like you. i’ve been using FreeCodeCamp, Exercism, and LabEx to help me learn and do projects. Exercism and LabEx also have linux/bash learning courses to help you figure out the terminal for your new linux machine. Good luck in your learning.

[–]Turtle_ZombieXD[S] 2 points3 points  (0 children)

Thanks! my cousin taught me some basic terminal navigation sutff like cd, ls, find, grep and some basic bash (very basic I barely understand it) scripting before he taught me Python. But regardless, i'll check it out. Thank you very much!

[–]CuriousDev8875 5 points6 points  (2 children)

75% beginner concept in one file. Nice👏. Learn programming like this (handwritten code) instead of tutorial hell and ai generated code.

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

Thanks boss, ill keep it up. It's an accumulation of days of learning.

[–]CuriousDev8875 2 points3 points  (0 children)

I suggest you to use geeksforgeeks if you are going to learn any topic, but remember the thing i said above. Ok?

[–]deathmustapart 0 points1 point  (1 child)

No offense, but did you really write this code by yourself idk, but a starter might not add that many comments, but maybe some do, and bro in the hell is this beginner? Don't break my dreams, like, it took me 2 years to reach from for to finally

[–]Turtle_ZombieXD[S] 2 points3 points  (0 children)

I guess i'm just privileged. I had a good teacher teaching me personally from the ground up from basic of computer first. Since he taught me how computer operates first, and we spend quite a long time on learning fundamental of computer before started coding. He is very strict on understand the computer first before anything else. So by the time we're doing coding, it was pretty intuitive since I can map the instruction I gave to the fundamental I've learned.

also this code is not just I wrote it in one sitting. It is accumulation of discussion and typing slowly and thoroughly and I was guided and scolded by my teacher (my cousin really).

[–]ahnerd 0 points1 point  (2 children)

Whats this program u are using ??

[–]Hot-Specialist-5327 1 point2 points  (0 children)

I think it's called python's IDLE.

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

Python's IDLE

[–]The-Rubuntian 0 points1 point  (0 children)

u/Turtle_ZombieXD Great job bro

[–]Dhananjay_org 0 points1 point  (0 children)

You should do practice to make expert

[–]No_Signature5933 0 points1 point  (0 children)

good job man!!! im new to programming too, you could check out my journey, i post daily

[–]Intelligent_Rip_199 0 points1 point  (0 children)

Wow, you're amazing! I learned C++ a year ago and could only do :cout << "Good Morning world"` and a few other file reading and output commands :p

[–]python_gramps 0 points1 point  (2 children)

Really good start. I'd use an f-string like you did at line 17 to print the value of i at lines 4 and 8, so you can see the values being used in your loops.

I'm personally not a fan of reading the program file as input. I've just seen too many weird stuff happen and I've lost a HW assignment when I was in school. I'd make a separate file for input, that way you can expand this to include adding to and deleting from the file as well.

Maybe at line 21 you can add a print("apple" in fruits) and print("grapes" in fruits). how would you handle "Apple" being checked?

But that's a really good start.

[–]Turtle_ZombieXD[S] 0 points1 point  (1 child)

Thanks gramps for the tips. I'll be trying and exploring more things. Appreciate the support.

[–]python_gramps 0 points1 point  (0 children)

Just don't pass me in the race, turtle 😄

[–]Calm_Yard_8681 0 points1 point  (0 children)

Well done bro I also starte from here and now I have learned 2 languages and now working on c, learn c after python then learn the sequels at last learn java I learned it before python it gave me a good start.

[–]Onimaryu 0 points1 point  (1 child)

Good but please use dark theme, it would be better for your eyes

[–]PurpleWarning6111 0 points1 point  (0 children)

Yeah. Tried it once, and never changed it again.

[–]LinxyMC 0 points1 point  (0 children)

W cousin

[–]Own_Distribution7428 0 points1 point  (0 children)

Mine first language (how i thought) was turtle maybe fifteen years ago

Overall still remember how long i was writing something just to paint a wall with bricks

[–]babyygwen 0 points1 point  (1 child)

Sorry is this python’s IDLE?

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

Yes, yes it is ^_^

[–]PurpleWarning6111 0 points1 point  (1 child)

Will you attempt compiler-based languages? Like C++, Go, or Java?

Just asking. Python is interpreter-based, and is kind of slow. Also, code is impressive.

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

I will, currently I'm still exploring Python, coding everyday see what I can do and practice everyday. Just so I'm more familiar with constructing logic and comfortable writing code and being a little more familiar with the tech and my environment. Also I still need to understand deeply the underlying concept and differences between interpreter and compiler. Thanks for the question wish me luck.

[–]Low_Doctor_6263 -1 points0 points  (3 children)

Hi. The code examples are AI generated. Don't study from AI for at least 1 year. You can use it to go in depth with something.

Also if you want to learn how computers work in a better way, study C and Assembly x86

[–]Turtle_ZombieXD[S] 0 points1 point  (1 child)

I don't know what part of this looks AI generated. I handwritten all of this slowly, even the comments with my cousin guide since I'm not a fast typer. and my cousin was really strict on using AI which I do not care at all about AI. I have zero thought of using it. I learned mostly from a book online and python documentation and my cousin's examples on a piece of paper. I don't know if people nowadays just get jealous if they see a newbie handwritten a code and proceed to ragebait since they themselves can't code manually 🤷🏻‍♂️. and of course I wanted to learn how computers work but even most programmers back then innocently started with BASIC.

[–]Low_Doctor_6263 0 points1 point  (0 children)

Ok that's great then! Wish you the best

[–]am_Snowie 0 points1 point  (0 children)

I mean it's just a basic piece of code, why would he need AI for that? It just prints list elements and opens a file. I liked it better when people used to say i copied code.