{"id":125,"date":"2023-08-23T23:45:44","date_gmt":"2023-08-23T15:45:44","guid":{"rendered":"https:\/\/blog.mada.press\/?p=125"},"modified":"2023-08-28T10:38:49","modified_gmt":"2023-08-28T02:38:49","slug":"datacamp-light-test","status":"publish","type":"post","link":"https:\/\/blog.mada.press\/index.php\/2023\/08\/23\/datacamp-light-test\/","title":{"rendered":"datacamp-light-test"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"125\" class=\"elementor elementor-125\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d78259c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d78259c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8057db4\" data-id=\"8057db4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4ac016c elementor-widget elementor-widget-html\" data-id=\"4ac016c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script type=\"text\/javascript\" src=\"\/\/cdn.datacamp.com\/dcl-react.js.gz\"><\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2deb58b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2deb58b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ea21e1c\" data-id=\"ea21e1c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-041e6ad elementor-widget elementor-widget-html\" data-id=\"041e6ad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div data-datacamp-exercise data-lang=\"r\">\r\n\t<code data-type=\"pre-exercise-code\">\r\n\t\t# This will get executed each time the exercise gets initialized\r\n\t\tb = 6\r\n\t<\/code>\r\n\t<code data-type=\"sample-code\">\r\n\t\t# Create a variable a, equal to 5\r\n\t\ta = 5\r\n\r\n\t\t# Print out a\r\n\t\tprint(a)\r\n\t<\/code>\r\n\t<code data-type=\"solution\">\r\n\t\t# Create a variable a, equal to 5\r\n\t\ta = 5\r\n\r\n\t\t# Print out a\r\n\t\tprint(a)\r\n\t<\/code>\r\n\t<code data-type=\"sct\">\r\n\t\ttest_object(\"a\")\r\n\t\ttest_function(\"print\")\r\n\t\tsuccess_msg(\"Great job!\")\r\n\t<\/code>\r\n\t<div data-type=\"hint\">Use the assignment operator (<code>=<\/code>) to create the variable <code>a<\/code>.<\/div>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-68fc2f7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"68fc2f7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-18c0bb9\" data-id=\"18c0bb9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b8c1b10 elementor-widget elementor-widget-text-editor\" data-id=\"b8c1b10\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><a href=\"https:\/\/github.com\/datacamp\/datacamp-light\" style=\"font-size: 15px;\">datacamp\/datacamp-light: Convert any blog or website to an interactive learning platform for data science &#8212; datacamp\/datacamp-light\uff1a\u5c06\u4efb\u4f55\u535a\u5ba2\u6216\u7f51\u7ad9\u8f6c\u6362\u4e3a\u6570\u636e\u79d1\u5b66\u7684\u4ea4\u4e92\u5f0f\u5b66\u4e60\u5e73\u53f0 (github.com)<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p># This will get executed each time the e &hellip; <a href=\"https:\/\/blog.mada.press\/index.php\/2023\/08\/23\/datacamp-light-test\/\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[35,25,33,34,32],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-github","tag-test","tag-33","tag-34","tag-32"],"_links":{"self":[{"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":10,"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/posts\/125\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mada.press\/index.php\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}