DEV Community

loading...
Cover image for Day 1 of 100DaysofCode: Band Name Generator Using Python 🎶

Day 1 of 100DaysofCode: Band Name Generator Using Python 🎶

fatihms profile image Fatih Mustafa Sağır ・1 min read

Hi there! Today is my first day in python coding with Angela Yu’s 100 days of python course. The first day was at the beginner level but I really enjoyed learning.

In the process, I've learned about printing, commenting, debugging, string manipulating, and variables. And I created an extremely simple band name generator program using lessons learned.

Printing

print("Hello World") # The print() function prints "Hello World".
Enter fullscreen mode Exit fullscreen mode

Commenting

print("Hello World") # This is a comment
Enter fullscreen mode Exit fullscreen mode

Debugging

String Manipulation

print("Hello" + " " + "dev.to") # prints Hello dev.to
Enter fullscreen mode Exit fullscreen mode

Variables

name = "Fatih"
print(name) # prints Fatih
Enter fullscreen mode Exit fullscreen mode

These are some of the main things I learned today. Although it looks simple in general, it is very helpful.

Project

Band Name Generator 🎶

Alt Text

Here's the Github repo and repl.

Discussion (0)

pic
Editor guide