How to build logic in coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to build logic in coding?

I'm unable to build logic in coding since so many days. I agree, I don't have interest in coding but also I don't have any other option ( but I'm trying hard to learn python right now ).

15th Dec 2022, 7:15 PM
Bhoomika Mamidi
Bhoomika Mamidi - avatar
2 Answers
+ 3
First work upon basics of language then solve small small problems
15th Dec 2022, 8:16 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
First of all, type the basic elements of the language (string, integer, float), then learn how to work with variables and mathematical operations. After that, start learning "if...else...elif". When you are comfortable with the properties described above, you can move on to the while loop. After studying it, deal with the lists. And then learn the cycle "for". During the learning process, solve problems that are approximately at your level in order to reinforce what you already know. The course from sololern "python for beginners" is perfect for this.
15th Dec 2022, 8:58 PM
Knight
Knight - avatar