Python Decision Making (JNNC Technologies)


Decisions in a program are used when the program has conditional choices to execute code block. Let’s take an example of traffic lights, where different colors of lights lit up at different situations based on the conditions of the road or any specific rule.
It is the prediction of conditions that occur while executing a program to specify actions. Multiple expressions get evaluated with an outcome of either TRUE or FALSE. These are logical decisions and Python also provides decision-making statements that to make decisions within a program for an application based on the user requirement.

0 Comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();