Skip to main content

Command Palette

Search for a command to run...

Basics Of Python

Updated
2 min read
Basics Of Python
P

Hello, I'm Priya Chakraborty, a dedicated B.Tech student in Electrical Engineering at Siliguri Institute Of Technology. I'm an enthusiastic learner, constantly seeking to expand my skill set and knowledge base. With a solid foundation in programming languages such as C, R, Python, and MySQL, I'm poised to tackle complex technical challenges.

But my passions extend beyond the realm of engineering. I'm also an aspiring content writer, driven by a curiosity to communicate ideas, both technical and non-technical, in a way that captivates and educates.

My journey is defined by a relentless pursuit of self-improvement, coupled with strong communication skills. I believe in the power of continuous learning and the importance of sharing knowledge.

This blog is for beginners, who are willing to learn python. Starting from day 1 to day 15. I am going to cover the all basic topics of python that will be helpful for beginners.

Day 1 :

Starting with a simple python code ->

Remember one thing, Python is a high-level programming language.

Like, if we see c/c++, we can check out that it’s a compiled language, but python is interpreted language.

  • example 1:
print("Hello ,everyone")
output : Hello ,everyone

The format will be so simple like the upper one as we don’t need any “;” for ending our code.

  • example 2:
print('Hii,Techies')
output: Hii ,Techies

So, from the upper code, if you see that I have used ‘ ’ — only single inverted commas. But if you see the very first example you can check out that I have used “ ” — double inverted commas. That means we can use both. But if you don’t use any commas to print, then you will get an error.

print(hii,all)

output:

You will get this type of error if you do not use commas in your code to print the text, this type of error is called a Name error.

That’s for day 1. Next day we will learn the Basic data types of Python.

Thank you.

More from this blog

Priya's blog

46 posts

Python Developer@Codeclause Mentee @Trailhead Salesforce Content Executive @GDSC SIT'22-23 Google Women Techmakers Ambassador @Google WTM Coreteam @ GirlScript Kolkata