Making the world a better place | CS Student Website | Engineering Blog Programming | Coding made easyπ»π» | Interesting Facts ✅π― | Mindblowing Memesπ✅π‘
Showing posts with label python. Show all posts
Showing posts with label python. Show all posts
Python Data-Types
Python is an object-oriented language. There are many different types of objects in Python. Let's start with the most common object types: strings, integers and floats. Anytime you write words (text) in Python, you're using character strings (strings for short). The most common numbers, on the other hand, are integers (e.g. -1, 0, 100) and floats, which represent real numbers (e.g. 3.14, -42.0).
Python Basics
Say "Hello" to the world in Python
# Try your first Python outputprint('Hello, Python!')After executing the cell above, you should see that Python prints Hello, Python!
. Congratulations on running your first Python code!
Subscribe to:
Posts (Atom)