[フレーム]

Course Info

Topics
Learning Resource Types
Problem Sets
Lecture Notes
Lecture Videos
Programming Assignments with Examples

Download Course
In-Class Questions and Video Solutions

Lecture 1

  1. Shell vs. Editor

    You run the code below from the editor.

    type(5)
    print(3.0-1)
    

    What’s printed?

  2. Python vs. Math

    Which is allowed in Python?

  3. Bindings

    You run the code below from the file editor.

    usa_gold = 46
    uk_gold = 27
    romania_gold = 1
    total_gold = usa_gold + uk_gold + romania_gold
    print(total_gold)
    romania_gold += 1
    print(total_gold)
    

    What’s printed?

Course Info

Learning Resource Types
Problem Sets
Lecture Notes
Lecture Videos
Programming Assignments with Examples

MIT Open Learning
Over 2,500 courses & materials
Freely sharing knowledge with learners and educators around the world. Learn more
© 2001–2025 Massachusetts Institute of Technology
Proud member of: Open Education Global
© 2001–2025 Massachusetts Institute of Technology

AltStyle によって変換されたページ (->オリジナル) /