Jodev AI & Programming âœĻ
70 subscribers
101 photos
2 links
📘 Learn AI, Web Development, Databases & etc.

â€Ē Python & Machine Learning
â€Ē HTML, CSS, JavaScript, nodejs, php & etc
â€Ē SQL & Database design
â€Ē Cyber Security & ethical hacking

Perfect for beginners and developers.

☎ïļ 0921098591 🌐 jotedev.com
Download Telegram
Python âœĻ

In Python, there is no built-in "array" data type like in C++ or Java. Instead, Python uses lists for general purposes, and specialized modules or libraries for more traditional array-like behavior.

💠 Python Lists:
👉 fruits = ["apple", "banana", "cherry"]

💠 The array Module
👉 import array

#python #programming #pythonforDataScience
👍1👌1ðŸ’Ŋ1
Python âœĻ

In Python, a for loop is used to iterate over a sequence (such as a list, tuple, string, or dictionary) or other iterable objects.


👉 Functions

💠 range(): Generates a sequence of numbers (e.g., range(5) produces 0 to 4). It is the standard way to repeat a block of code a specific number of times.

💠enumerate(): Provides both the index and the value of items during iteration.


👉 Control Statements

✅ break: Exits the loop entirely before it has finished iterating.
✅ continue: Skips the current iteration and moves immediately to the next item.
✅ pass: Acts as a placeholder for future code; it does nothing when executed.

#pythonLearning #forLoop #pythonForDataScience
👍1ðŸ’Ŋ1
Python âœĻ

✅ A Python function is a reusable block of code that performs a specific task.

To define a function, use the def keyword, followed by the function name, parentheses (), and a colon : The code inside must be indented.

☀ïļ Example

def greet():
print("Hello, Welcome")

def add_numbers(a, b):
return a + b


add_number = function name ðŸĪŠ
a and b = parameters 👌

👇👇👇👇👇👇👇👇👇👇👇

👉 for Learning: @jod_dev 0921098591


#python #PythonForDataScience #DataScience #Coding
⚡1👍1ðŸĨ°1ðŸ’Ŋ1
Python âœĻ

✅ In Python, a list is a built-in data structure used to store a collection of items in a single variable.

☀ïļ Characteristics

💠 Ordered & Indexed: Each item has a specific position starting at index 0.

💠 Mutable: You can modify elements in-place.

💠 Heterogeneous: A single list can contain different data types, such as integers, strings, and even other lists.

💠 Allows Duplicates: Lists can store multiple instances of the same value.

☀ïļ List Methods
append(x), insert(i, x), remove(x), pop([i]), sort(), reverse()


#python #DataType #pythonForDataScience #coding
⚡1👍1ðŸ’Ŋ1