← Back to list

Python as a beginner…

Python an important tool for AI

Lalit Mittal · 2026-07-07 07:22 · 0 claps · 1.3 min read
#python #begginer #basics #ai
Open on Medium ↗
Wiki topics: AI · AI · General

Python as a beginner…

Python an important tool for AI

Python is most popular coding language among coders and web designers which is used for

  • Web Development
  • Software Development
  • The Go-To for AI

Introduction:

Python is beginner friendly and has no cryptic syntax which allows user to easily work in python. It also has a massive library which helps in complex things. It is also a Go-To for Artificial Intelligence, Machine Learning or Data Science.

Core Concepts:

  1. Variables- These are used to store data and use them when needed. In Python, we do not need to define data type.

  1. Conditionals- Like all other coding languages, python also uses If, Elif, Else statements to let program decisions based on conditions.
a = 200
b = 33
if b > a:
  print("b is greater than a")
elif a == b:
  print("a and b are equal")
else:
  print("a is greater than b")
  1. Loops- Sometimes we need parts of program again and again, so instead of writing same code again and again we use concept of loops. Types of loops:-
  • While Loop
i = 1
while i < 6:
  print(i)
  i += 1
  • For Loop
fruits = ["apple", "banana", "cherry"
for x in fruits:
  print(x)

This is what help us to learn python. These are the most basic core concepts of python.

Hope this helps you to Understand python and help in your journey with python

To get regularly updated with these kind of articles, subscribe to my newsletter so you never miss any.


메타데이터
post_id
0a5dfdc63893
slug
python-as-a-beginner-0a5dfdc63893
url
https://medium.com/@lalitnetsquaresoftwares/python-as-a-beginner-0a5dfdc63893
canonical_url
https://medium.com/@lalitnetsquaresoftwares/python-as-a-beginner-0a5dfdc63893
author_url
https://medium.com/@lalitnetsquaresoftwares
status
ok
fetched_at
2026-07-08 18:29:56