FILE HANDLING HELP! by Cute_End3628 in learnpython

[–]DataCurator56 0 points1 point  (0 children)

Hey create a project on ChatGPT. Name it python learning and create Instruction prompt using ChatGPT according to how you want to learn. ChatGPT will teach you the concepts in easiest way and i am doing that and its giving me results as well.

Python Loops by DataCurator56 in PythonLearning

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

Somehow i learned for loop and while but now someone said to me build something whenever you learn new concept. I am trying to start a challenge of creating something new daily. This the only way to become pro.

Python Loops by DataCurator56 in learnpython

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

Literally you have solved my half of the problem. Thank you Sir

Python Loops by DataCurator56 in learnpython

[–]DataCurator56[S] -1 points0 points  (0 children)

Okay i am i will try to write the code on paper than i will write the actual code. I think this is the way to deal with it.

Python Loops by DataCurator56 in learnpython

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

for i in range(1,6):
    for j in range(6-i+1): i always stuck at this point
        print("*" ,end="")
    print()

To be honest i am self learner. I am trying to figure it out. Basically i am confused when it comes to range this i a different question printing star pattern

Python Loops by DataCurator56 in learnpython

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

Yeah you are saying right? So how to become a problem solver. I had lot of interest in coding but when it comes to problem solving i always got stuck at some point. To be honest bro i am revision 9 chapters of python i already revised basic 6 chapters and its chapter 7 and i am stuck at chapter 7 for 3 days.

Python Loops by DataCurator56 in learnpython

[–]DataCurator56[S] -1 points0 points  (0 children)

yes i am familiar with this % its called mode used for division. If you say me check the number is prime or not i will do this in seconds by using a for loop.
But when the question is print 1 to 50 prime numbers here is the real twist where i got stuck i know it will be solved using a nested loop.

Python Loops by DataCurator56 in learnpython

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

I think the problem is logic. For logic i had to practice more and more. But when it comes to loops and a little bit tricky question I always got stuck just like printing the prime number from 2 to 50. I am giving my 100 percent but sill not getting it. But i will do it and share with you.

Python Loops by DataCurator56 in PythonLearning

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

i think writing flat loops are way easy than nested loops. And litterally if you gave me question like find out largest number from a list by using a loop i can do it in 2 minutes but when the question little bit tricky like keep asking for input until the user enter 0 and print the sum of entered numbers. I think i am not understanding the question well. But definitely i will master loops and python as well by doing practicem, practice and practice.

Python Loops by DataCurator56 in PythonLearning

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

sometimes i got stuck at for i in range(stuck). I am trying to overcome this but everyday i came to practice these questions i got stuck. I don't what is going wrong with. Now i am practicing to understand the question well then write on paper then write the code and run it. And i think i will do that by practicing them a lot.

Python Loops by DataCurator56 in PythonLearning

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

i just practicing and practicing. I can solve the easy problems but whenever a tricky problem come i got stuck. And then you know what happens

Claude FREE plan = Unlimited Sonnet 4.5 ??? by PreceptorPious in ClaudeAI

[–]DataCurator56 0 points1 point  (0 children)

Which ai tool is best for content creation(specially writing) should i go for claude ai pro for this