{"id":1154,"date":"2026-06-13T22:55:07","date_gmt":"2026-06-13T22:55:07","guid":{"rendered":"https:\/\/accelthinking.com\/?page_id=1154"},"modified":"2026-06-14T18:59:42","modified_gmt":"2026-06-14T18:59:42","slug":"python-learning-notes","status":"publish","type":"page","link":"https:\/\/accelthinking.com\/zh_cn\/resources\/python-learning-notes\/","title":{"rendered":"Python Learning Notes"},"content":{"rendered":"<style>\nhtml,body,#page{background:#f8fafc!important}.site-header,.site-footer,#masthead,#colophon,.entry-header,.post-navigation,.comments-area{display:none!important}.entry-title{display:none!important}.site-content .ast-container{max-width:100%!important;padding:0!important}.entry-content{margin:0!important;line-height:0!important}.site-content,#content,#primary,#main,.ast-plain-container #primary{margin:0!important;padding:0!important;background:#f8fafc}.ast-article-single{padding:0!important}\n.ati-page,.ati-page *{box-sizing:border-box}.entry-content>.ati-page,.ati-page{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;font-family:Inter,Arial,sans-serif;color:#0f172a;background:#f8fafc;font-size:0;line-height:0}.ati-page>p,.ati-page main>p,.ati-footer>p{display:none!important;margin:0!important}.ati-page a{text-decoration:none;color:inherit}.ati-page svg{display:block}.ati-top,.ati-page main,.ati-footer{font-size:16px;line-height:1.5}\n.ati-top{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:76px;padding:0 clamp(22px,6vw,116px);color:#fff;background:#050505;border-bottom:1px solid rgba(255,255,255,.08)}.ati-top>p{display:contents!important}.ati-top br,.ati-nav br{display:none!important}.ati-brand{display:inline-flex;align-items:center;width:max-content;color:#ffc400!important}.ati-logo img{display:block;width:auto;height:38px;max-width:min(260px,42vw);object-fit:contain}.ati-nav{display:flex;gap:clamp(20px,3vw,44px);align-items:center;justify-content:center;font-size:15px;font-weight:600}.ati-nav a{position:relative;padding:28px 0 24px;color:rgba(255,255,255,.86)!important}.ati-nav a:hover,.ati-nav a.active{color:#ffc400!important}.ati-nav a:after{position:absolute;right:0;bottom:19px;left:0;height:2px;content:\"\";background:#ffc400;transform:scaleX(0);transition:transform 160ms ease}.ati-nav a:hover:after,.ati-nav a.active:after{transform:scaleX(1)}.ati-header-cta{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;color:#050505!important;background:#ffc400;border-radius:8px;font-size:14px;font-weight:800}\n.ati-page{--hero-pattern:radial-gradient(circle at 82% 24%,rgba(255,196,0,.18) 0 2px,transparent 3px),linear-gradient(135deg,rgba(255,255,255,.07) 1px,transparent 1px);--hero-pattern-size:90px 90px,38px 38px;--hero-pattern-opacity:.55}.ati-solutions{--hero-pattern:radial-gradient(circle at 25px 25px,rgba(255,196,0,.2) 0 2px,transparent 3px),linear-gradient(90deg,rgba(255,196,0,.09) 1px,transparent 1px),linear-gradient(0deg,rgba(255,255,255,.06) 1px,transparent 1px);--hero-pattern-size:96px 96px,96px 96px,96px 96px}.ati-cp-academy{--hero-pattern:radial-gradient(circle at 20px 20px,rgba(255,196,0,.26) 0 3px,transparent 4px),radial-gradient(circle at 74px 58px,rgba(20,184,166,.18) 0 2px,transparent 3px),linear-gradient(135deg,transparent 46%,rgba(255,196,0,.11) 47% 48%,transparent 49%);--hero-pattern-size:112px 112px,112px 112px,56px 56px}.ati-it-consulting{--hero-pattern:linear-gradient(90deg,transparent 0 28px,rgba(20,184,166,.14) 29px 30px,transparent 31px 72px),linear-gradient(0deg,transparent 0 28px,rgba(255,196,0,.1) 29px 30px,transparent 31px 72px),radial-gradient(circle at 30px 30px,rgba(20,184,166,.22) 0 2px,transparent 3px);--hero-pattern-size:72px 72px,72px 72px,72px 72px}.ati-about-page{--hero-pattern:linear-gradient(135deg,rgba(255,196,0,.12) 0 2px,transparent 2px 28px),radial-gradient(circle at 85% 28%,rgba(255,255,255,.12) 0 2px,transparent 3px);--hero-pattern-size:42px 42px,96px 96px}.ati-contact{--hero-pattern:radial-gradient(circle at 78% 44%,transparent 0 34px,rgba(255,196,0,.14) 35px 36px,transparent 37px 70px,rgba(20,184,166,.12) 71px 72px,transparent 73px),linear-gradient(135deg,rgba(255,255,255,.06) 1px,transparent 1px);--hero-pattern-size:220px 220px,42px 42px}.ati-cp-weekly-challenge{--hero-pattern:radial-gradient(circle at 18px 18px,rgba(255,196,0,.2) 0 2px,transparent 3px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);--hero-pattern-size:52px 52px,104px 104px}.ati-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(28px,6vw,90px);align-items:center;min-height:430px;padding:76px clamp(22px,10vw,160px);overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.6)),var(--hero) center\/cover no-repeat}.ati-hero:after{position:absolute;inset:0;content:\"\";background:var(--hero-pattern);background-size:var(--hero-pattern-size);opacity:var(--hero-pattern-opacity);mix-blend-mode:screen;pointer-events:none}.ati-hero>*{position:relative;z-index:1}.ati-label{margin:0 0 12px!important;color:#ffb000!important;font-size:13px!important;font-weight:800!important;letter-spacing:.08em;text-transform:uppercase}.ati-hero h1{max-width:840px;margin:0!important;color:#fff!important;font-size:clamp(42px,5vw,72px)!important;line-height:1.03!important;font-weight:800!important;letter-spacing:0}.ati-hero-title-line{display:block;color:#fff!important}.ati-hero-title-line.accent{color:#ffc400!important}.ati-word{display:inline-block;white-space:nowrap}.ati-word:not(:last-child){margin-right:.32em}.ati-letter{display:inline-block;opacity:0;transform:translateY(.34em);animation:ati-letter-in 520ms cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(38ms * var(--i))}@keyframes ati-letter-in{0%{opacity:0;transform:translateY(.34em)}100%{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.ati-letter{opacity:1;transform:none;animation:none}}.ati-hero p:not(.ati-label){max-width:700px;margin:22px 0 0!important;color:rgba(255,255,255,.86)!important;font-size:19px!important}.ati-side{padding:28px;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:8px;backdrop-filter:blur(18px)}.ati-side strong{display:block;color:#ffc400;font-size:22px;line-height:1.15;overflow-wrap:anywhere}.ati-side p{margin:12px 0 0!important;color:rgba(255,255,255,.78)!important}.ati-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.ati-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:8px;font-size:15px;font-weight:800}.ati-primary{color:#050505!important;background:linear-gradient(135deg,#ffc400,#ffb000);box-shadow:0 18px 38px rgba(255,196,0,.25)}.ati-secondary{color:#fff!important;border:1px solid #ffc400}\n.ati-section,.ati-about{max-width:1320px;margin:0 auto;padding:72px clamp(22px,6vw,64px)}.ati-heading{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:end;margin-bottom:32px}.ati-heading h2,.ati-split h2{margin:0!important;color:#050505!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.08!important}.ati-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ati-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.ati-card{padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.ati-card .ati-num{color:#b47c00;font-size:14px;font-weight:800;text-transform:uppercase}.ati-card h3{margin:12px 0 0!important;color:#050505!important;font-size:22px!important;line-height:1.12!important}.ati-card p{margin:12px 0 0!important;color:#172033!important}.ati-task-card h3{margin:0!important}.ati-task-card h3 .ati-num{display:inline;color:#b47c00;font-size:22px;line-height:1.12}.ati-task-card p{margin-top:14px!important}.ati-split{max-width:1320px;margin:0 auto;padding:72px clamp(22px,6vw,64px);display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;border-top:1px solid #e2e8f0}.ati-list{display:grid;gap:14px}.ati-list article{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.ati-list b{display:block;color:#050505;font-size:18px}.ati-list span{display:block;margin-top:6px;color:#172033}.ati-dark{max-width:none;background:linear-gradient(135deg,#050505,#0f172a);color:#fff;border:0;padding-left:clamp(22px,10vw,160px);padding-right:clamp(22px,10vw,160px)}.ati-dark h2,.ati-dark p{color:#fff!important}.ati-dark .ati-list article{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}.ati-dark .ati-list b{color:#ffc400}.ati-dark .ati-list span{color:rgba(255,255,255,.78)}.ati-path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.ati-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ati-benefits span{padding:18px 20px;color:#0f3d37;background:rgba(20,184,166,.1);border:1px solid rgba(20,184,166,.24);border-radius:8px;font-weight:800}.ati-side .ati-side-link{display:inline-flex;margin-top:18px;min-height:42px;padding:0 16px;align-items:center;justify-content:center;color:#050505!important;background:#ffc400;border-radius:8px;font-size:14px;font-weight:800}.ati-challenge-entry{max-width:1320px;margin:0 auto;padding:0 clamp(22px,6vw,64px) 72px}.ati-challenge-entry+.ati-challenge-entry{padding-top:0}.ati-challenge-panel{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:28px 30px;color:#fff;background:linear-gradient(135deg,#050505,#111827);border:1px solid rgba(255,196,0,.36);border-radius:8px;box-shadow:0 24px 55px rgba(15,23,42,.16)}.ati-challenge-entry h2{margin:0!important;color:#fff!important;font-size:clamp(24px,3vw,36px)!important;line-height:1.08!important}.ati-challenge-entry p{margin:8px 0 0!important;color:#dbe4ef!important}.ati-challenge-entry a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;color:#050505!important;background:#ffc400;border-radius:8px;font-weight:800;white-space:nowrap}.ati-posts{display:grid;gap:18px}.ati-posts article{padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.ati-posts h2{margin:0!important;color:#050505!important;font-size:28px!important}.ati-tag{color:#b47c00;font-size:13px;font-weight:800;text-transform:uppercase}\n.ati-assessment{display:grid;gap:18px}.ati-assessment-frame{display:block;width:100%;min-height:3300px;border:0;background:#f8fafc}.ati-embed{overflow:hidden;border:1px solid #1e293b;border-radius:8px;background:#050505;box-shadow:0 18px 45px rgba(15,23,42,.12)}.ati-embed iframe{display:block;width:100%;min-height:760px;border:0}.ati-levels{display:grid;gap:10px;margin:0;padding:0;list-style:none}.ati-levels li{padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;color:#172033}.ati-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}@media(max-width:800px){.ati-task-grid{grid-template-columns:1fr}.ati-assessment-frame{min-height:4300px}}\nbody .ati-wpforms .wpforms-container{margin:0!important}body .ati-wpforms form,body .ati-wpforms .wpforms-field-container{display:flex!important;flex-direction:column!important}body .ati-wpforms .wpforms-field{padding:10px 0 16px!important}body .ati-wpforms .wpforms-field.wpforms-field-text{display:none!important}body .ati-wpforms .wpforms-field.wpforms-field-select{order:-10!important}body .ati-wpforms .wpforms-field-label{font-weight:800!important;color:#050505!important}body .ati-wpforms .wpforms-field-row{max-width:100%!important}body .ati-wpforms .wpforms-field-row-block{width:100%!important;padding:0!important;margin-bottom:12px!important}body .ati-wpforms input,body .ati-wpforms textarea,body .ati-wpforms select{width:100%!important;max-width:100%!important;min-height:48px!important;padding:12px 14px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#f8fafc!important;color:#0f172a!important;font:inherit!important}body .ati-wpforms select{appearance:auto!important}body .ati-wpforms button[type=submit]{min-height:52px!important;padding:0 26px!important;border:0!important;border-radius:8px!important;color:#050505!important;background:linear-gradient(135deg,#ffc400,#ffb000)!important;box-shadow:0 18px 38px rgba(255,196,0,.24)!important;font-weight:800!important}\n#wpforms-76-field_5-container,#wpforms-76-field_6-container{display:none!important}#wpforms-76-field_4-container{order:-10!important}\n.ati-challenge-query .wp-block-post-template,.ati-challenge-posts{display:grid!important;gap:18px!important;padding:0!important;margin:0!important;list-style:none!important}.ati-challenge-query .wp-block-post,.ati-challenge-posts li{padding:26px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:8px!important;box-shadow:0 18px 45px rgba(15,23,42,.06)}.ati-challenge-query h2{margin:0!important}.ati-challenge-query h2 a,.ati-challenge-posts a{display:block;color:#050505!important;font-size:clamp(23px,2.8vw,31px);font-weight:800;line-height:1.12}.ati-challenge-query h2 a:hover,.ati-challenge-posts a:hover{color:#b47c00!important}.ati-challenge-query time,.ati-challenge-posts time{display:block;margin-top:10px;color:#b47c00;font-size:13px;font-weight:800;text-transform:uppercase}.ati-challenge-query .wp-block-post-excerpt,.ati-challenge-posts .wp-block-latest-posts__post-excerpt{margin:12px 0 0!important;color:#172033!important;font-size:16px;line-height:1.55}.ati-challenge-query .wp-block-post-excerpt__more-link{display:inline-flex;margin-top:14px;color:#b47c00!important;font-weight:800}.ati-article{max-width:1080px;margin:0 auto;padding:72px clamp(22px,6vw,64px);font-size:18px;line-height:1.7}.ati-article-card{padding:clamp(28px,5vw,56px);background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.ati-article-card p{margin:0 0 22px!important;color:#172033!important}.ati-article-card h2{margin:42px 0 14px!important;color:#050505!important;font-size:clamp(25px,3vw,36px)!important;line-height:1.1!important}.ati-article-card ul{margin:0 0 24px 22px!important;color:#172033}.ati-article-card li{margin:8px 0}.ati-article-card pre{overflow:auto;margin:16px 0 28px!important;padding:20px!important;color:#f8fafc!important;background:#0b1020!important;border:1px solid #1e293b;border-radius:8px;font-size:14px;line-height:1.55}.ati-article-card pre code{display:block!important;padding:0!important;color:#f8fafc!important;background:transparent!important;border:0!important;font-family:Menlo,Consolas,monospace;white-space:pre}.ati-back-link{display:inline-flex;margin-bottom:18px;color:#b47c00!important;font-size:14px;font-weight:800}\n.ati-footer{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;min-height:90px;padding:22px clamp(22px,10vw,160px);color:#f8fafc;background:#050505;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ati-footer .ati-logo img{height:36px;max-width:240px}.ati-footer a{color:#f8fafc!important}.ati-footer a:hover{color:#ffc400!important}.ati-footer nav{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;font-size:14px;font-weight:600;line-height:1.35}.ati-footer address{display:grid;gap:5px;justify-self:end;color:#dbe4ef;font-size:14.5px;font-weight:500;line-height:1.35;font-style:normal;margin:0!important}.ati-footer address a{font-weight:700}.ati-footer address span{color:#cbd5e1}\n.ati-menu-toggle,.ati-menu-button{display:none}@media(max-width:1100px){.ati-top,.ati-hero,.ati-heading,.ati-grid,.ati-grid.five,.ati-split,.ati-path,.ati-footer,.ati-challenge-panel{grid-template-columns:1fr}.ati-header-cta,.ati-footer address{justify-self:start}.ati-nav{justify-content:flex-start;flex-wrap:wrap}.ati-split{gap:30px}.ati-benefits{grid-template-columns:1fr}.ati-challenge-entry a{justify-self:start}}@media(max-width:700px){.ati-top{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:0!important;padding:16px 22px!important}.ati-logo img{height:34px}.ati-menu-button{display:grid;gap:5px;place-content:center;width:44px;height:40px;color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:8px;cursor:pointer}.ati-menu-button span{display:block;width:20px;height:2px;background:#ffc400;border-radius:999px}.ati-nav{display:none!important;grid-column:1\/-1;width:100%;gap:0;margin-top:14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.1)}.ati-nav a{padding:11px 0!important}.ati-nav a:after{bottom:5px}.ati-header-cta{display:none!important}.ati-menu-toggle:checked~.ati-nav{display:grid!important}.ati-menu-toggle:checked~.ati-header-cta{display:inline-flex!important;grid-column:1\/-1;justify-self:start;margin-top:12px}.ati-hero{min-height:auto;padding:60px 22px}.ati-hero h1{font-size:40px!important}.ati-footer nav{justify-content:flex-start}}\n@media(max-width:1100px){.ati-top{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:0!important;padding:16px 22px!important}.ati-logo img{height:34px}.ati-menu-button{display:grid!important;gap:5px;place-content:center;width:44px;height:40px;color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:8px;cursor:pointer}.ati-menu-button span{display:block;width:20px;height:2px;background:#ffc400;border-radius:999px}.ati-nav{display:none!important;grid-column:1\/-1;width:100%;gap:0;margin-top:14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.1)}.ati-nav a{padding:11px 0!important}.ati-nav a:after{bottom:5px}.ati-header-cta{display:none!important}.ati-menu-toggle:checked~.ati-nav{display:grid!important}.ati-menu-toggle:checked~.ati-header-cta{display:inline-flex!important;grid-column:1\/-1;justify-self:start;margin-top:12px}}\n.ati-mobile-menu{display:none}.ati-mobile-menu summary{list-style:none}.ati-mobile-menu summary::-webkit-details-marker{display:none}@media(max-width:1100px){.ati-mobile-menu{display:block!important;position:absolute!important;top:18px!important;right:22px!important;z-index:9999!important}.ati-mobile-menu summary{display:grid!important;gap:5px;place-content:center;width:44px;height:40px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:#050505;cursor:pointer}.ati-mobile-menu summary span{display:block;width:20px;height:2px;background:#ffc400;border-radius:999px}.ati-mobile-menu summary:before{display:block;width:20px;height:2px;content:\"\";background:#ffc400;border-radius:999px;box-shadow:0 7px 0 #ffc400,0 14px 0 #ffc400}.ati-mobile-menu summary span{display:none}.ati-mobile-menu[open] summary{border-color:rgba(255,196,0,.62);background:rgba(255,196,0,.1)}.ati-mobile-panel{position:absolute;top:52px;right:0;display:grid;gap:2px;width:min(78vw,320px);padding:12px;background:#050505;border:1px solid rgba(255,255,255,.14);border-radius:8px;box-shadow:0 24px 60px rgba(0,0,0,.46)}.ati-mobile-panel a{display:block;padding:12px 14px;color:#f8fafc!important;border-radius:6px;font-size:15px;font-weight:800;line-height:1.2}.ati-mobile-panel a.active,.ati-mobile-panel a:hover{color:#ffc400!important;background:rgba(255,255,255,.06)}.ati-mobile-panel .ati-mobile-cta{margin-top:6px;color:#050505!important;background:#ffc400;text-align:center}.ati-mobile-panel .ati-mobile-cta:hover{color:#050505!important;background:#ffcf33}}\n.ati-mobile-menu-button{position:absolute!important;top:18px!important;right:22px!important;z-index:10000!important;display:grid!important;place-content:center;width:44px;height:40px;color:#ffc400!important;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:#050505;font-size:27px!important;font-weight:800;line-height:1;text-decoration:none!important}.ati-mobile-menu-button:before{display:none!important}.ati-mobile-nav-panel{display:none;position:absolute!important;top:70px!important;right:22px!important;z-index:10000!important;width:min(78vw,320px);padding:12px;background:#050505;border:1px solid rgba(255,255,255,.14);border-radius:8px;box-shadow:0 24px 60px rgba(0,0,0,.46)}.ati-mobile-nav-panel:target{display:grid!important;gap:2px}.ati-mobile-nav-panel a{display:block;padding:12px 14px;color:#f8fafc!important;border-radius:6px;font-size:15px;font-weight:800;line-height:1.2}.ati-mobile-nav-panel a.active,.ati-mobile-nav-panel a:hover{color:#ffc400!important;background:rgba(255,255,255,.06)}.ati-mobile-nav-panel .ati-mobile-cta{margin-top:6px;color:#050505!important;background:#ffc400;text-align:center}.ati-mobile-nav-panel .ati-mobile-close{color:#94a3b8!important;text-align:center;font-size:13px}@media(min-width:1101px){.ati-mobile-menu-button,.ati-mobile-nav-panel{display:none!important}}@media(max-width:1100px){.ati-mobile-menu{display:none!important}}\n.trp-language-switcher.trp-floating-switcher{position:fixed!important;top:auto!important;right:22px!important;bottom:22px!important;z-index:10001!important;width:auto!important;min-width:118px!important;--bottom:22px!important;--right:22px!important;--border-radius:8px!important;--bg:#050505!important;--bg-hover:rgba(255,255,255,.08)!important;--text:#f8fafc!important;--text-hover:#ffc400!important;--border:1px solid rgba(255,255,255,.2)!important}.trp-language-switcher .trp-language-switcher-inner{background:#050505!important;border-color:rgba(255,255,255,.2)!important;border-radius:8px!important;box-shadow:0 18px 42px rgba(0,0,0,.28)!important}.trp-language-switcher .trp-language-item{color:#f8fafc!important;font-weight:800!important}.trp-language-switcher .trp-language-item:hover{color:#ffc400!important;background:rgba(255,255,255,.08)!important}.trp-language-switcher .trp-flag-image{display:none!important}.trp-language-switcher .trp-language-item-name{margin-left:0!important}.ati-header-cta{margin-right:0}@media(max-width:1100px){.trp-language-switcher.trp-floating-switcher{right:18px!important;bottom:18px!important;min-width:118px!important;--bottom:18px!important;--right:18px!important}}\n<\/style>\n<style>\nbody.category .site-header,body.category .site-footer,body.category #masthead,body.category #colophon{display:none!important}\nbody.category .ast-archive-description>h1,body.category .ast-archive-description>p{display:none!important}\nbody.category .site-content .ast-container{max-width:100%!important;padding:0!important}\nbody.category .ast-row,body.category .navigation,body.category .ast-pagination{display:none!important}\nbody.category .ast-archive-description{margin:0!important;padding:0!important;border:0!important;background:transparent!important}\nbody.category .ast-archive-description .ati-page{margin:0!important}\n.ati-channel-posts{display:grid;gap:18px;margin-top:26px}\n.ati-channel-post{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 18px 45px rgba(15,23,42,.06)}\n.ati-channel-post h3{margin:0!important;color:#050505!important;font-size:clamp(22px,2.8vw,30px)!important;line-height:1.12!important}\n.ati-channel-post p{margin:10px 0 0!important;color:#172033!important}\n.ati-channel-post small{display:block;margin-bottom:8px;color:#b47c00;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}\n.ati-channel-post a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;color:#050505!important;background:#ffc400;border-radius:8px;font-size:13px;font-weight:900;white-space:nowrap}\n@media(max-width:760px){.ati-channel-post{grid-template-columns:1fr}.ati-channel-post a{width:max-content}}\n<\/style>\n<div class=\"ati-page ati-about-page ati-channel-page\" style=\"--hero:url(https:\/\/accelthinking.com\/wp-content\/uploads\/2026\/06\/hero-technology-education-51.png)\">\n<header class=\"ati-top\">\n      <a class=\"ati-brand ati-logo\" href=\"\/\" aria-label=\"Accel Thinking home\"><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png?ssl=1\" alt=\"Accel Thinking\"><\/a><br \/>\n      <input class=\"ati-menu-toggle\" id=\"ati-menu-channel\" type=\"checkbox\" aria-label=\"Toggle navigation menu\"><br \/>\n      <label class=\"ati-menu-button\" for=\"ati-menu-channel\" aria-hidden=\"true\"><span><\/span><span><\/span><span><\/span><\/label><\/p>\n<details class=\"ati-mobile-menu\">\n<summary aria-label=\"Open navigation menu\"><span><\/span><span><\/span><span><\/span><\/summary>\n<div class=\"ati-mobile-panel\"><a class=\"\" href=\"\/\">Home<\/a><a class=\"\" href=\"\/solutions\/\">Solutions<\/a><a class=\"\" href=\"\/cp-academy\/\">CP Academy<\/a><a class=\"\" href=\"\/ai-literacy\/\">AI Literacy<\/a><a class=\"active\" href=\"\/resources\/\">Resources<\/a><a class=\"\" href=\"\/about\/\">About<\/a><a class=\"\" href=\"\/contact\/\">Contact<\/a><a class=\"ati-mobile-cta\" href=\"\/contact\/\">Partner With Us<\/a><\/div>\n<\/details>\n<p>      <a class=\"ati-mobile-menu-button\" href=\"#ati-mobile-nav-channel\" aria-label=\"Open navigation menu\">&#9776;<\/a><\/p>\n<nav id=\"ati-mobile-nav-channel\" class=\"ati-mobile-nav-panel\"><a class=\"\" href=\"\/\">Home<\/a><a class=\"\" href=\"\/solutions\/\">Solutions<\/a><a class=\"\" href=\"\/cp-academy\/\">CP Academy<\/a><a class=\"\" href=\"\/ai-literacy\/\">AI Literacy<\/a><a class=\"active\" href=\"\/resources\/\">Resources<\/a><a class=\"\" href=\"\/about\/\">About<\/a><a class=\"\" href=\"\/contact\/\">Contact<\/a><a class=\"ati-mobile-cta\" href=\"\/contact\/\">Partner With Us<\/a><a class=\"ati-mobile-close\" href=\"#\">Close<\/a><\/nav>\n<nav class=\"ati-nav\"><a class=\"\" href=\"\/\">Home<\/a><a class=\"\" href=\"\/solutions\/\">Solutions<\/a><a class=\"\" href=\"\/cp-academy\/\">CP Academy<\/a><a class=\"\" href=\"\/ai-literacy\/\">AI Literacy<\/a><a class=\"active\" href=\"\/resources\/\">Resources<\/a><a class=\"\" href=\"\/about\/\">About<\/a><a class=\"\" href=\"\/contact\/\">Contact<\/a><\/nav>\n<p>      <a class=\"ati-header-cta\" href=\"\/contact\/\">Partner With Us<\/a><br \/>\n    <\/header>\n<p>    <main><\/p>\n<section class=\"ati-hero\">\n<div>\n<p class=\"ati-label\">Python Learning Notes<\/p>\n<h1 aria-label=\"Python Learning Notes\"><span class=\"ati-hero-title-line\"><span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:0\">P<\/span><span class=\"ati-letter\" style=\"--i:1\">y<\/span><span class=\"ati-letter\" style=\"--i:2\">t<\/span><span class=\"ati-letter\" style=\"--i:3\">h<\/span><span class=\"ati-letter\" style=\"--i:4\">o<\/span><span class=\"ati-letter\" style=\"--i:5\">n<\/span><\/span> <span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:7\">L<\/span><span class=\"ati-letter\" style=\"--i:8\">e<\/span><span class=\"ati-letter\" style=\"--i:9\">a<\/span><span class=\"ati-letter\" style=\"--i:10\">r<\/span><span class=\"ati-letter\" style=\"--i:11\">n<\/span><span class=\"ati-letter\" style=\"--i:12\">i<\/span><span class=\"ati-letter\" style=\"--i:13\">n<\/span><span class=\"ati-letter\" style=\"--i:14\">g<\/span><\/span> <span class=\"ati-word\"><span class=\"ati-letter\" style=\"--i:16\">N<\/span><span class=\"ati-letter\" style=\"--i:17\">o<\/span><span class=\"ati-letter\" style=\"--i:18\">t<\/span><span class=\"ati-letter\" style=\"--i:19\">e<\/span><span class=\"ati-letter\" style=\"--i:20\">s<\/span><\/span><\/span><\/h1>\n<p>Short, student-friendly notes for Python foundations, coding habits, debugging practice, and project readiness.<\/p>\n<\/div>\n<aside class=\"ati-side\"><strong>Read<br \/>Try<br \/>Reflect<\/strong><\/p>\n<p>Python foundations, syntax, practice habits<\/p>\n<\/aside>\n<\/section>\n<section class=\"ati-section\">\n<div class=\"ati-heading\">\n<div>\n<p class=\"ati-label\">Channel Archive<\/p>\n<h2>Latest articles in this channel.<\/h2>\n<\/div>\n<p>Browse the newest resources first, then open any article for the full explanation and practice notes.<\/p>\n<\/div>\n<div class=\"ati-channel-posts\">\n<article class=\"ati-channel-post\">\n<div><small>Python Learning Notes | June 13, 2026<\/small><\/p>\n<h3>Python Syntax Basics: Print, Variables, and Types<\/h3>\n<p>A beginner-friendly Python note on print(), comments, variable naming, basic types, and converting input before doing math.<\/p>\n<\/div>\n<p>          <a href=\"\/python-syntax-basics-print-variables-types\/\">Read Full Article<\/a><br \/>\n        <\/article>\n<article class=\"ati-channel-post\">\n<div><small>AI Literacy Articles, Parent Letters, Python Learning Notes | June 12, 2026<\/small><\/p>\n<h3>Using Codex to Support Python JamHack Competition Preparation<\/h3>\n<p>How students can use Codex as a planning, debugging, and review partner while keeping their own thinking at the center.<\/p>\n<\/div>\n<p>          <a href=\"\/using-codex-for-python-jamhack-competition\/\">Read Full Article<\/a><br \/>\n        <\/article>\n<article class=\"ati-channel-post\">\n<div><small>Python Learning Notes | June 6, 2026<\/small><\/p>\n<h3>Why Learn Python? Start with Readability, Not Syntax<\/h3>\n<p>A short Python Learning Note based on Phase I materials: why Python is a good first language, and why beginners should start with readability rather than memorizing syntax.<\/p>\n<\/div>\n<p>          <a href=\"\/why-learn-python-readability-not-syntax\/\">Read Full Article<\/a><br \/>\n        <\/article>\n<\/div>\n<\/section>\n<section class=\"ati-challenge-entry\">\n<div class=\"ati-challenge-panel\">\n<div>\n<h2>Return to the full Resources hub.<\/h2>\n<p>Explore CP Weekly Challenges, Python Learning Notes, and AI Literacy Articles from one place.<\/p>\n<\/div>\n<p><a href=\"\/resources\/\">View Resources<\/a><\/div>\n<\/section>\n<p><\/main><\/p>\n<footer class=\"ati-footer\">\n      <a class=\"ati-brand ati-logo\" href=\"\/\" aria-label=\"Accel Thinking home\"><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png?ssl=1\" alt=\"Accel Thinking\"><\/a><\/p>\n<nav><a href=\"\/\">Home<\/a><a href=\"\/solutions\/\">Solutions<\/a><a href=\"\/cp-academy\/\">CP Academy<\/a><a href=\"\/ai-literacy\/\">AI Literacy<\/a><a href=\"\/resources\/\">Resources<\/a><a href=\"\/it-consulting\/\">IT Consulting<\/a><a href=\"\/about\/\">About<\/a><a href=\"\/contact\/\">Contact<\/a><\/nav>\n<address><a href=\"mailto:info@accelthinking.com\">info@accelthinking.com<\/a><span>Oakville, Ontario, Canada<\/span><\/address>\n<\/footer><\/div>\n<p><script>\n(function(){\n  if (!location.pathname.toLowerCase().includes('\/zh_cn')) return;\n  const map = {\n    \"CP Weekly Challenge\":\"CP \u6bcf\u5468\u6311\u6218\",\n    \"CP Weekly Challenges\":\"CP \u6bcf\u5468\u6311\u6218\",\n    \"Python Learning Notes\":\"Python \u5b66\u4e60\u7b14\u8bb0\",\n    \"AI Literacy Articles\":\"AI \u7d20\u517b\u6587\u7ae0\",\n    \"Weekly CCC contest problem analysis with thinking process, Python\/C++ solutions, common mistakes, and learning outcomes.\":\"\u6bcf\u5468 CCC \u7ade\u8d5b\u7f16\u7a0b\u771f\u9898\u89e3\u6790\uff0c\u5305\u542b\u601d\u8003\u8fc7\u7a0b\u3001Python\/C++ \u89e3\u6cd5\u3001\u5e38\u89c1\u9519\u8bef\u548c\u5b66\u4e60\u76ee\u6807\u3002\",\n    \"Short, student-friendly notes for Python foundations, coding habits, debugging practice, and project readiness.\":\"\u9762\u5411\u5b66\u751f\u7684\u77ed\u7bc7\u5b66\u4e60\u7b14\u8bb0\uff0c\u8986\u76d6 Python \u57fa\u7840\u3001\u7f16\u7801\u4e60\u60ef\u3001\u8c03\u8bd5\u7ec3\u4e60\u548c\u9879\u76ee\u51c6\u5907\u3002\",\n    \"Practical guidance for students, parents, and teams learning how to use AI responsibly while protecting real thinking ability.\":\"\u9762\u5411\u5b66\u751f\u3001\u5bb6\u957f\u548c\u56e2\u961f\u7684\u5b9e\u7528\u6307\u5bfc\uff0c\u5e2e\u52a9\u4ed6\u4eec\u8d1f\u8d23\u4efb\u5730\u4f7f\u7528 AI\uff0c\u540c\u65f6\u4fdd\u62a4\u771f\u5b9e\u601d\u8003\u80fd\u529b\u3002\",\n    \"CCC Problems\":\"CCC \u771f\u9898\",\n    \"Thinking Process\":\"\u601d\u8003\u8fc7\u7a0b\",\n    \"Code Review\":\"\u4ee3\u7801\u590d\u76d8\",\n    \"Read\":\"\u9605\u8bfb\",\n    \"Try\":\"\u5c1d\u8bd5\",\n    \"Reflect\":\"\u590d\u76d8\",\n    \"Ask Better\":\"\u63d0\u51fa\u66f4\u597d\u7684\u95ee\u9898\",\n    \"Verify Carefully\":\"\u8c28\u614e\u9a8c\u8bc1\",\n    \"Use Wisely\":\"\u660e\u667a\u4f7f\u7528\",\n    \"CCC practice, algorithms, debugging habits\":\"CCC \u7ec3\u4e60\u3001\u7b97\u6cd5\u601d\u7ef4\u3001\u8c03\u8bd5\u4e60\u60ef\",\n    \"Python foundations, syntax, practice habits\":\"Python \u57fa\u7840\u3001\u8bed\u6cd5\u3001\u7ec3\u4e60\u4e60\u60ef\",\n    \"AI learning, responsible use, future skills\":\"AI \u5b66\u4e60\u3001\u8d1f\u8d23\u4efb\u4f7f\u7528\u3001\u672a\u6765\u6280\u80fd\",\n    \"Channel Archive\":\"\u9891\u9053\u5f52\u6863\",\n    \"Latest articles in this channel.\":\"\u672c\u9891\u9053\u6700\u65b0\u6587\u7ae0\u3002\",\n    \"Browse the newest resources first, then open any article for the full explanation and practice notes.\":\"\u5148\u6d4f\u89c8\u6700\u65b0\u8d44\u6e90\uff0c\u518d\u6253\u5f00\u6587\u7ae0\u67e5\u770b\u5b8c\u6574\u8bb2\u89e3\u4e0e\u7ec3\u4e60\u7b14\u8bb0\u3002\",\n    \"Read Full Article\":\"\u9605\u8bfb\u5168\u6587\",\n    \"Return to the full Resources hub.\":\"\u8fd4\u56de\u5b8c\u6574\u8d44\u6e90\u4e2d\u5fc3\u3002\",\n    \"Explore CP Weekly Challenges, Python Learning Notes, and AI Literacy Articles from one place.\":\"\u5728\u4e00\u4e2a\u5165\u53e3\u6d4f\u89c8 CP \u6bcf\u5468\u6311\u6218\u3001Python \u5b66\u4e60\u7b14\u8bb0\u548c AI \u7d20\u517b\u6587\u7ae0\u3002\",\n    \"View Resources\":\"\u67e5\u770b\u8d44\u6e90\u6587\u7ae0\",\n    \"Home\":\"\u9996\u9875\",\n    \"Solutions\":\"\u89e3\u51b3\u65b9\u6848\",\n    \"CP Academy\":\"CP \u5b66\u9662\",\n    \"AI Literacy\":\"AI\u7d20\u517b\",\n    \"Resources\":\"\u8d44\u6e90\u6587\u7ae0\",\n    \"About\":\"\u5173\u4e8e\u6211\u4eec\",\n    \"Contact\":\"\u8054\u7cfb\u6211\u4eec\",\n    \"Partner With Us\":\"\u6210\u4e3a\u5408\u4f5c\u4f19\u4f34\",\n    \"Close\":\"\u5173\u95ed\",\n    \"Oakville, Ontario, Canada\":\"\u52a0\u62ff\u5927\u5b89\u5927\u7565\u7701\u5965\u514b\u7ef4\u5c14\"\n  };\n  document.title = document.title.replace(\"Archives\", \"\u5f52\u6863\").replace(\"Accel Thinking\", \"\u52a0\u901f\u5ea6\u601d\u7ef4\");\n  document.querySelectorAll('h1[aria-label]').forEach(function(el){ const key = el.getAttribute('aria-label'); if (map[key]) el.textContent = map[key]; });\n  document.querySelectorAll('.ati-page h1,.ati-page h2,.ati-page h3,.ati-page p,.ati-page a,.ati-page span,.ati-page strong,.ati-page b,.ati-page small,.ati-page li').forEach(function(el){\n    if (el.closest('script,style,pre,code,textarea')) return;\n    if (el.querySelector && el.querySelector('a')) return;\n    const key = el.textContent.trim().replace(\/\\s+\/g, ' ');\n    if (map[key]) el.textContent = map[key];\n  });\n})();\n<\/script><\/p>\n<p><script data-source=\"ati_safe_channel_zh\">\n(function(){\n  if (!location.pathname.toLowerCase().includes('\/zh_cn\/')) return;\n  var map = {\"AI Literacy\": \"AI\u7d20\u517b\", \"IT Consulting\": \"IT \u54a8\u8be2\", \"CP Weekly Challenges\": \"CP \u6bcf\u5468\u6311\u6218\", \"Python Learning Notes\": \"Python \u5b66\u4e60\u7b14\u8bb0\", \"AI Literacy Articles\": \"AI \u7d20\u517b\u6587\u7ae0\", \"CCC Problems Thinking Process Code Review\": \"CCC \u771f\u9898 \u601d\u8003\u8fc7\u7a0b \u4ee3\u7801\u590d\u76d8\", \"Read Try Reflect\": \"\u9605\u8bfb \u5c1d\u8bd5 \u590d\u76d8\", \"Ask Better Verify Carefully Use Wisely\": \"\u5584\u95ee \u5ba1\u614e\u9a8c\u8bc1 \u660e\u667a\u4f7f\u7528\", \"CP Weekly Challenge | June 13, 2026\": \"CP \u6bcf\u5468\u6311\u6218 | 2026 \u5e74 6 \u6708 13 \u65e5\", \"CP Weekly Challenge | June 1, 2026\": \"CP \u6bcf\u5468\u6311\u6218 | 2026 \u5e74 6 \u6708 1 \u65e5\", \"CP Weekly Challenge | May 31, 2026\": \"CP \u6bcf\u5468\u6311\u6218 | 2026 \u5e74 5 \u6708 31 \u65e5\", \"Python Learning Notes | June 13, 2026\": \"Python \u5b66\u4e60\u7b14\u8bb0 | 2026 \u5e74 6 \u6708 13 \u65e5\", \"Python Learning Notes | June 6, 2026\": \"Python \u5b66\u4e60\u7b14\u8bb0 | 2026 \u5e74 6 \u6708 6 \u65e5\", \"AI Literacy Articles, Parent Letters, Python Learning Notes | June 12, 2026\": \"AI \u7d20\u517b\u6587\u7ae0\u3001\u5bb6\u957f\u4fe1\u3001Python \u5b66\u4e60\u7b14\u8bb0 | 2026 \u5e74 6 \u6708 12 \u65e5\", \"CCC 2024 J5 - Harvest Waterloo Solution & Analysis\": \"CCC 2024 J5 - Harvest Waterloo \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2024 J5 \u2013 Harvest Waterloo Solution & Analysis\": \"CCC 2024 J5 - Harvest Waterloo \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2026 J4 - Snail Path Solution & Analysis\": \"CCC 2026 J4 - Snail Path \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2026 J4 \u2013 Snail Path Solution & Analysis\": \"CCC 2026 J4 - Snail Path \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2026 J5\/S2 - Beams of Light Solution & Analysis\": \"CCC 2026 J5\/S2 - Beams of Light \u89e3\u9898\u4e0e\u5206\u6790\", \"CCC 2026 J5\/S2 \u2013 Beams of Light Solution & Analysis\": \"CCC 2026 J5\/S2 - Beams of Light \u89e3\u9898\u4e0e\u5206\u6790\", \"Python Syntax Basics: Print, Variables, and Types\": \"Python \u8bed\u6cd5\u57fa\u7840\uff1aPrint, Variables, and Types\", \"Using Codex to Support Python JamHack Competition Preparation\": \"\u7528 Codex \u52a9\u529b Python JamHack \u7ade\u8d5b\u51c6\u5907\", \"Why Learn Python? Start with Readability, Not Syntax\": \"\u4e3a\u4ec0\u4e48\u5b66\u4e60 Python\uff1f\u4ece\u53ef\u8bfb\u6027\u5f00\u59cb\uff0c\u800c\u4e0d\u662f\u4ece\u8bed\u6cd5\u5f00\u59cb\", \"Use BFS or DFS flood fill to harvest all reachable pumpkins and calculate their total value.\": \"\u4f7f\u7528 BFS \u6216 DFS \u6d2a\u6c34\u586b\u5145\uff0c\u6536\u96c6\u6240\u6709\u53ef\u5230\u8fbe\u7684\u5357\u74dc\u5e76\u8ba1\u7b97\u603b\u4ef7\u503c\u3002\", \"Simulate the snail step by step, track slimy squares with a visited set, and count every revisit.\": \"\u9010\u6b65\u6a21\u62df\u8717\u725b\u79fb\u52a8\uff0c\u7528 visited \u96c6\u5408\u8bb0\u5f55\u9ecf\u9ecf\u7684\u65b9\u683c\uff0c\u5e76\u7edf\u8ba1\u6bcf\u6b21\u91cd\u590d\u8fdb\u5165\u3002\", \"Use interval coverage, a difference array, and prefix sums to answer illumination queries efficiently.\": \"\u4f7f\u7528\u533a\u95f4\u8986\u76d6\u3001\u5dee\u5206\u6570\u7ec4\u548c\u524d\u7f00\u548c\uff0c\u9ad8\u6548\u56de\u7b54\u505c\u8f66\u4f4d\u662f\u5426\u88ab\u7167\u4eae\u7684\u67e5\u8be2\u3002\", \"A beginner-friendly Python note on print(), comments, variable naming, basic types, and converting input before doing math.\": \"\u4e00\u7bc7\u9002\u5408\u521d\u5b66\u8005\u7684 Python \u7b14\u8bb0\uff0c\u4ecb\u7ecd print()\u3001\u6ce8\u91ca\u3001\u53d8\u91cf\u547d\u540d\u3001\u57fa\u7840\u7c7b\u578b\uff0c\u4ee5\u53ca\u505a\u6570\u5b66\u8fd0\u7b97\u524d\u5982\u4f55\u8f6c\u6362\u8f93\u5165\u3002\", \"How students can use Codex as a planning, debugging, and review partner while keeping their own thinking at the center.\": \"\u5b66\u751f\u53ef\u4ee5\u628a Codex \u5f53\u4f5c\u89c4\u5212\u3001\u8c03\u8bd5\u548c\u590d\u76d8\u4f19\u4f34\uff0c\u540c\u65f6\u59cb\u7ec8\u4fdd\u6301\u81ea\u5df1\u7684\u601d\u8003\u5904\u4e8e\u4e2d\u5fc3\u3002\", \"A short Python Learning Note based on Phase I materials: why Python is a good first language, and why beginners should start with readability rather than memorizing syntax.\": \"\u4e00\u7bc7\u57fa\u4e8e Phase I \u8bb2\u4e49\u7684 Python \u5b66\u4e60\u7b14\u8bb0\uff1a\u4e3a\u4ec0\u4e48 Python \u9002\u5408\u4f5c\u4e3a\u7b2c\u4e00\u95e8\u8bed\u8a00\uff0c\u4ee5\u53ca\u521d\u5b66\u8005\u4e3a\u4ec0\u4e48\u5e94\u5148\u7406\u89e3\u53ef\u8bfb\u6027\uff0c\u800c\u4e0d\u662f\u6025\u7740\u80cc\u8bed\u6cd5\u3002\", \"View Resources\": \"\u67e5\u770b\u8d44\u6e90\u6587\u7ae0\", \"Read Full Article\": \"\u9605\u8bfb\u5168\u6587\", \"Return to the full Resources hub.\": \"\u8fd4\u56de\u5b8c\u6574\u8d44\u6e90\u4e2d\u5fc3\u3002\", \"Explore CP Weekly Challenges, Python Learning Notes, and AI Literacy Articles from one place.\": \"\u5728\u4e00\u4e2a\u5165\u53e3\u6d4f\u89c8 CP \u6bcf\u5468\u6311\u6218\u3001Python \u5b66\u4e60\u7b14\u8bb0\u548c AI \u7d20\u517b\u6587\u7ae0\u3002\"};\n  function fixText(value) {\n    if (!value) return value;\n    Object.keys(map).sort(function(a,b){return b.length-a.length;}).forEach(function(key){\n      value = value.split(key).join(map[key]);\n    });\n    return value;\n  }\n  function applyFix() {\n    document.title = fixText(document.title);\n    document.querySelectorAll('.ati-page h1,.ati-page h2,.ati-page h3,.ati-page p,.ati-page a,.ati-page span,.ati-page strong,.ati-page small,.ati-page li').forEach(function(el){\n      if (el.closest('script,style,pre,code,textarea')) return;\n      if (el.querySelector && el.querySelector('a')) return;\n      var next = fixText(el.textContent.trim().replace(\/\\s+\/g, ' '));\n      if (next && next !== el.textContent.trim().replace(\/\\s+\/g, ' ')) el.textContent = next;\n    });\n  }\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', applyFix);\n  else applyFix();\n  setTimeout(applyFix, 500);\n  setTimeout(applyFix, 1500);\n})();\n<\/script><script>document.addEventListener(\"DOMContentLoaded\",()=>{if(!location.pathname.includes('\/zh_cn\/'))return;const h=document.querySelector('h1');if(h)h.textContent='Python \u5b66\u4e60\u7b14\u8bb0';});<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HomeSolutionsCP AcademyAI LiteracyResourcesAboutContactPartner With Us &#9776; HomeSolutionsCP AcademyAI LiteracyResourcesAboutContactPartner With UsClose HomeSolutionsCP AcademyAI LiteracyResourcesAboutContact Partner With Us Python Learning Notes [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1143,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-1154","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Learning Notes | Programming Foundations for Students<\/title>\n<meta name=\"description\" content=\"Short Python learning notes for students, covering syntax, variables, input, problem solving habits, and beginner-friendly programming concepts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accelthinking.com\/zh_cn\/resources\/python-learning-notes\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Learning Notes | Programming Foundations for Students\" \/>\n<meta property=\"og:description\" content=\"Short Python learning notes for students, covering syntax, variables, input, problem solving habits, and beginner-friendly programming concepts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accelthinking.com\/zh_cn\/resources\/python-learning-notes\/\" \/>\n<meta property=\"og:site_name\" content=\"Accel Thinking\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-14T18:59:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/\",\"url\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/\",\"name\":\"Python Learning Notes | Programming Foundations for Students\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/accelthinking.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png\",\"datePublished\":\"2026-06-13T22:55:07+00:00\",\"dateModified\":\"2026-06-14T18:59:42+00:00\",\"description\":\"Short Python learning notes for students, covering syntax, variables, input, problem solving habits, and beginner-friendly programming concepts.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/accelthinking.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png\",\"contentUrl\":\"https:\\\/\\\/accelthinking.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/logo-dark-cropped-51.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/python-learning-notes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/accelthinking.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\\\/\\\/accelthinking.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python Learning Notes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/accelthinking.com\\\/#website\",\"url\":\"https:\\\/\\\/accelthinking.com\\\/\",\"name\":\"Accel Thinking\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/accelthinking.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-CN\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Learning Notes | Programming Foundations for Students","description":"Short Python learning notes for students, covering syntax, variables, input, problem solving habits, and beginner-friendly programming concepts.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accelthinking.com\/zh_cn\/resources\/python-learning-notes\/","og_locale":"zh_CN","og_type":"article","og_title":"Python Learning Notes | Programming Foundations for Students","og_description":"Short Python learning notes for students, covering syntax, variables, input, problem solving habits, and beginner-friendly programming concepts.","og_url":"https:\/\/accelthinking.com\/zh_cn\/resources\/python-learning-notes\/","og_site_name":"Accel Thinking","article_modified_time":"2026-06-14T18:59:42+00:00","og_image":[{"url":"https:\/\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/","url":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/","name":"Python Learning Notes | Programming Foundations for Students","isPartOf":{"@id":"https:\/\/accelthinking.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/#primaryimage"},"image":{"@id":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/#primaryimage"},"thumbnailUrl":"https:\/\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png","datePublished":"2026-06-13T22:55:07+00:00","dateModified":"2026-06-14T18:59:42+00:00","description":"Short Python learning notes for students, covering syntax, variables, input, problem solving habits, and beginner-friendly programming concepts.","breadcrumb":{"@id":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accelthinking.com\/resources\/python-learning-notes\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/#primaryimage","url":"https:\/\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png","contentUrl":"https:\/\/accelthinking.com\/wp-content\/uploads\/2026\/06\/logo-dark-cropped-51.png"},{"@type":"BreadcrumbList","@id":"https:\/\/accelthinking.com\/resources\/python-learning-notes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accelthinking.com\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/accelthinking.com\/resources\/"},{"@type":"ListItem","position":3,"name":"Python Learning Notes"}]},{"@type":"WebSite","@id":"https:\/\/accelthinking.com\/#website","url":"https:\/\/accelthinking.com\/","name":"Accel Thinking","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accelthinking.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CN"}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/pages\/1154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/comments?post=1154"}],"version-history":[{"count":2,"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/pages\/1154\/revisions"}],"predecessor-version":[{"id":1169,"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/pages\/1154\/revisions\/1169"}],"up":[{"embeddable":true,"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/pages\/1143"}],"wp:attachment":[{"href":"https:\/\/accelthinking.com\/zh_cn\/wp-json\/wp\/v2\/media?parent=1154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}