100DaysofPython: Day 0

Python is one of the most popular programming languages. It is simple to understand and easy to learn for beginners. Although I am not exactly a beginner. I did spend 4 years in school (from grade 9 to 12) in school learning Java and practising problems like String Manipulation, Array Operations and recently Stacks and Queues.

I am starting college this year, and the syllabus includes Python. So, to get used to a completely new programming language and to brush up on my existing programming skills, I have decided to challenge myself with the 100 Days of Python Challenge.

As the name suggests, I will practise Python for the next 100 days and give my all to at least get to the intermediate level. I will also try some interesting Python projects to showcase on my GitHub profile.

I was supposed to post this, actually, yesterday, on 19th June, which I decided to call Day 0 (for getting to know basic Python commands like 'print' statements and variables). But, I started late at night, so I didn't get to finish writing (It's 9:20 am on 20th June at the time of writing this).


SC1

In the above screenshot, it can be seen that I was playing around with basic Python syntax and was able to get the hang of it. Now, instead of 'System.out.println', the simple 'print' seems more natural to me.


SC2


While playing around, I also learned a new thing: Python f-string. 

So basically, unlike Java, I cannot put both a String and an Integer variable in a single print statement. And normally, I would have had to convert the Integer datatype variable into a String to print it alongside the text. But the f-string formatting allows me to use curly braces for variable operations. This was a fun discovery, and I hope to get to know more about it as I proceed to Day 1 of the challenge. 

 Also, I tried a simple variable swapping program in Python. Here is the screenshot of it:

SC3

Here is everything I wrote on Day 0 of 100 Days of Python:

print("This is first line of code")

a = 5
b = 10
print(a+b)
# for printing the summation along with text and not getting an error,
Use f-string along with curly braces for variables and their operations

print(f"Sum of a and b: {a+b}")

#another way, without using f-string

print("Sum of a and b in old way:" + str(a+b))

print(f"The value of a is {a} and b is {b}")

#swapping values using a third variable

c = a

a = b

b = c

print(f"The value of a: {a} and b: {b} are reversed")

#swapping values of two variables using Python

a, b = b, a

print(f"The value of a is now original {a} and b is original {b} ")


Today is 20th June, 2026. Starting Today, I will practise Python for the next 100 Days with my full effort!

Comments