You are on page 1of 5

PYTHON FUNDAMENTALS

VARIABLES

• Fundamental Concepts of any Programming Language


• Store Data
• No need explicitly specify the type of Data
• PEP – 8
STATICALLY VS DYNAMICALLY TYPE

• Statically typed – if the type of Variable is known at compile time, so before


running the script
• C, C++, Java are statically typed languages
• Dynamically typed – associated with run time values. Values stored in
variables have type and not the name or variable itself
PYTHON DATA TYPES

• Numbers: Integers, Floating point and Complex numbers


• Booleans: Logical values indicating False, True and None
• Strings: Ordered sequence of characters
• Lists: Ordered mutable sequence of objects
• Tuples: Ordered immutable sequence of objects
• Sets: Mutable collections of unordered unique objects
• Dictionaries: Collections of unordered key:value pairs
HAVE A GOOD DAY
THANK YOU!

You might also like