conditional and repetition blocks:check the flowcharts in the topic "control structures in python conditionals and loopscomputational thinkingit follows steps decompositiondivide the problem into smaller problemsusually problems that we have solved before pattern recognitionfind similar repeated patternsidentify the differences note patterns may come from other domains that you have dealt with abstractiondefine the bigger problem as combination of solution of smaller problemseach of which is solved the same way hide all the details and focus on the bigger picture algorithm designwrite step by step procedure algorithmalgorithm is step-by-step procedurewhich defines set of instructions to be executed in certain order to get the desired output algorithms are generally created independent of underlying languagesi an algorithm can be implemented in more than one programming language characteristic or features of an algorithm inputmeans it has zero or more inputsi an algorithm can run without taking any input outputmeans it has one or more outputsi an algorithm must produce atleast one output finitenessmeans it must always terminate after finite number of steps definitenessmeans each step must be precisely defined and clear effectivenessmeans it is also generally expected to be effective an algorithm should be and unambiguous and independent of any programming codei language independent algorithm to add two numbers entered by the user step start step read values num and num step add num and num and assign the result to sum sum-num +num step display sum step stop algorithm to find greatest of three numbers