DEV Community

Aditi Sharma
Aditi Sharma

Posted on

Day 1

Hello dev community πŸ‘‹

This is my Day 1 of documenting my learning journey as a student of Data Analytics.

Today’s Focus: Functions

Functions in Python feel like tiny machines:

  • You give them an input.
  • They process it.
  • They return an output. Here’s a simple example I wrote today:

python
def greet(name):
    return f"Hello, {name}!"

print(greet("World"))
Enter fullscreen mode Exit fullscreen mode

Top comments (0)