Introduction To Python
Introduction To Python
Source: https://aws.amazon.com/what-is/debugging/?nc1=h_ls
Source: https://www.tutorialsmate.com/2020/08/difference-between-compiler-and-interpreter.html
12/14/2023 Introduction to Programming 6
OBJECTS
• Programs manipulate data objects
• Objects have a type that defines the kinds of things programs can do
to them
• Ana is a human so she can walk, speak English, etc.
• Chewbacca is a wookie so he can walk, “mwaaarhrhh”, etc.
• objects are
• scalar (cannot be subdivided)
• non-scalar (have internal structure that can be accessed)
Source: https://www.linkedin.com/pulse/chapter-1-programming-environment-parth-dobariya/
12/14/2023 Introduction to Programming 8
Introduction to Python
Lecturer: Vũ Đức Lý (Ph.D)
for x in fruits:
if "a" in x:
newlist.append(x)
print(newlist)
print(newlist)