(Day 01) Task : The Band Name Generator :-


🟩 1. Introduction to Python :-
Python is beginner-friendly:
It has simple syntax (easy-to-read code) that looks similar to plain English, which makes it perfect for beginners.Widely used language:
Python is used in web development, data science, AI, automation, and more so learning it opens up many career paths.Popular for teaching coding:
Many schools and bootcamps, including Dr. Angela Yu’s course, use Python to teach foundational programming skills.What you'll be doing in this course:
Writing Python code daily for 100 days
Completing real-life projects to practice your skills
Gradually building confidence with each new topic
No prior experience needed:
This course starts from the very basics, so even if you've never written a single line of code before you’re in the right place!
🟩 2. How to Print in Python :-
Use what you learnt to print out the words "Hello world!" with Python code :-
Remember that this is the format to print things in Python: print(" some text ").
Using the
print()
function.Printing text and strings to the console.
🟩 3. What is String :-
A string is just text in Python.
It's made up of letters, numbers, symbols, or spaces — basically, anything you can type on a keyboard.
You write a string by putting quotes around it i.e, combination of characters inside (“ “) Double or (‘ ‘) Single quotes.
Learn to use string concatenation and String Manipulation and New Lines to format strings in Python :-
String Manipulation and New Lines :-
How to format strings.
Using
\n
to create line breaks.Example :-
Use \n to add another line of "Hello world".
So the resulting output looks like this:
Hello world!
Hello world!
Hello world!
String Concatenation :-
Combining strings using
+
.Creating meaningful outputs by joining multiple strings.
Example :-
Add a space between the strings.
So there will be a space between the string Hello and Aditya when the print statement runs.
The output should look like this:
Hello Aditya.
🟩 4. Using the Input() Function :-
Taking user input from the console.
Assigning the input to variables.
User can give data to the code.
Example :-
- Update the code to add an exclamation mark Using what you have learnt in this lesson and previous, can you figure out how take user input and slot it in between 2 strings?
🟩 5. Variables and Naming Conventions :-
What is a variable?
A variable is like a container or box that holds information.
You can give it a name, and store a value inside it (like text or a number).
You can use that name later to get or change the value.
It is used to assign a value so that we can access data by using variable.
it is like giving a name to any data.
Example :-
Check the length of the user input.
Split everything into variables.
Rules For naming variables in Python :-
Make sure your variable names are descriptive.
Don't have spaces between words.
Don't start with numbers.
Don't use special words like print or input.
Choose simple words that are less likely to become typos.
Check the company style guidelines if you start work at a company.
🟩 6. 🎸 The Band Name Generator Project :-
Step 1: Greet the user.
- Start by printing a welcome message.
Step 2: Ask for the City Name.
Goal:
Get the city the user grew up in.input()
takes the user’s input.\n
moves the cursor to the next line for cleaner formatting.
Step 3: Ask for the Pet’s Name.
Goal:
Get the name of the user's pet.This will be combined with the city name for the band name.
Step 4: Combine the Inputs.
Goal:
Create the band name by joining the city and pet names.We use
" "
(a space) between the two inputs to separate them visually.
Step 5: Display the Result.
Goal:
Show the final band name to the user.
✅ Conclusion – Day 01: The Band Name Generator :-
🔍 What We Learned Today:
How to use the
print()
function to display messages.How to Combine
(concatenate)
strings to create custom outputs.How to take input from a user using
input()
.How to store data in Variables & Variable Naming.
How to build a simple and fun interactive program.
🚀 What's Next?
Tomorrow’s challenge will build upon what we learned today.
Each day will gradually introduce new concepts to strengthen our Python skills.
We’re officially on our 100 Days of Code journey — keep up the momentum!
Subscribe to my newsletter
Read articles from Aditya Sharma directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Aditya Sharma
Aditya Sharma
DevOps Enthusiast | Python | Chef | Docker | GitHub | Linux | Shell Scripting | CI/CD & Cloud Learner | AWS