{"id":1566,"date":"2024-11-13T18:49:26","date_gmt":"2024-11-13T13:19:26","guid":{"rendered":"https:\/\/isdtp.selvamtech.edu.in\/?p=1566"},"modified":"2024-11-13T18:49:26","modified_gmt":"2024-11-13T13:19:26","slug":"python-control-structures-mcq","status":"publish","type":"post","link":"https:\/\/isdtp.selvamtech.edu.in\/?p=1566","title":{"rendered":"Python &#8211; Control Structures MCQ"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-family: arial, helvetica, sans-serif;\">In Python, control structures like if statements allow the execution of code blocks based on specific conditions. The if statement evaluates a condition, and if it&#8217;s True, the code within its block runs. You can also use elif (else if) for additional conditions and else for a default action when none of the conditions are met. This structure is fundamental for decision-making in Python programs, enabling dynamic and responsive code execution.<\/span><\/p>\n<div class=\"wp-block-pdfemb-pdf-embedder-viewer\"><a href=\"https:\/\/isdtp.selvamtech.edu.in\/wp-content\/uploads\/2024\/11\/7.Control-Structures.docx.pdf\" class=\"pdfemb-viewer\" style=\"\" data-width=\"max\" data-height=\"max\" data-toolbar=\"top\" data-toolbar-fixed=\"on\">7.Control Structures.docx<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Python, control structures like if statements allow the execution of code blocks based on specific conditions. The if statement evaluates a condition, and if<span class=\"more-button\"><a href=\"https:\/\/isdtp.selvamtech.edu.in\/?p=1566\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">Python &#8211; Control Structures MCQ<\/span><\/a><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,5],"tags":[],"class_list":["post-1566","post","type-post","status-publish","format-standard","hentry","category-python-programming","category-technical-programming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1566"}],"version-history":[{"count":1,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1566\/revisions"}],"predecessor-version":[{"id":1568,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1566\/revisions\/1568"}],"wp:attachment":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}