8. Python Program to Print Details Separated by Commas
Easysep and end
Overview
In this exercise, you will demonstrate your understanding of Python's print() function and its sep parameter by printing multiple values separated by a custom separator. This task will help you practice formatting output in Python.
Problem Statement
Write a Python program that prints a person's details, such as their name, age, and city, in a single line separated by a comma (,).
Input
- No input is required.
Output
Your program should output the details in the following format:
Rahul,20,Male
Experiment with the print() function and leverage the sep parameter to create formatted output. Happy coding!