{"id":2744,"date":"2018-04-17T15:34:23","date_gmt":"2018-04-17T15:34:23","guid":{"rendered":"http:\/\/www.jisort.com\/?p=2744"},"modified":"2018-04-17T15:34:23","modified_gmt":"2018-04-17T15:34:23","slug":"sample-python-interview-question-jisort","status":"publish","type":"post","link":"https:\/\/jisort.com\/blog\/sample-python-interview-question-jisort\/","title":{"rendered":"Sample Python Interview Question at Jisort"},"content":{"rendered":"<p>Write a simple program in python that calculates tax using the below tax bands<\/p>\n<div><\/div>\n<div>\n<table class=\"m_-4867772623050054657m_-698989063469087365gmail-table m_-4867772623050054657m_-698989063469087365gmail-table-condensed m_-4867772623050054657m_-698989063469087365gmail-table-bordered m_-4867772623050054657m_-698989063469087365gmail-table-hover\">\n<thead>\n<tr>\n<th>Monthly Bands of Taxable Income (KES)<\/th>\n<th>Tax Rate<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0 \u2013 12,500<\/td>\n<td>10% of 12500<\/td>\n<\/tr>\n<tr>\n<td>On the next 11,500<\/td>\n<td>15%<\/td>\n<\/tr>\n<tr>\n<td>On the next 11,500<\/td>\n<td>20%<\/td>\n<\/tr>\n<tr>\n<td>On the next 11,500<\/td>\n<td>25%<\/td>\n<\/tr>\n<tr>\n<td>Over 47,000<\/td>\n<td>30%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Do it .<\/p>\n<p>Here is a <a href=\"https:\/\/www.jisort.com\/wp-content\/uploads\/2018\/04\/answer.jpg\">sample answer<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Write a simple program in python that calculates tax using the below tax bands Monthly Bands of Taxable Income (KES) Tax Rate 0 \u2013 12,500 10% of 12500 On the next 11,500 15% On the next 11,500 20% On the next 11,500 25% Over 47,000 30% &nbsp; Do it . Here is a sample answer [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57],"tags":[],"class_list":["post-2744","post","type-post","status-publish","format-standard","hentry","category-general"],"blocksy_meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/posts\/2744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/comments?post=2744"}],"version-history":[{"count":0,"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/posts\/2744\/revisions"}],"wp:attachment":[{"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/media?parent=2744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/categories?post=2744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jisort.com\/blog\/wp-json\/wp\/v2\/tags?post=2744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}