Ahmed Obaid blog | Tag: Python




Introduction

Introduction to the Python programming language

by Ahmed Obaid on 4-11-2022

Python It is a high-level programming language. Python appeared in the late …


words: 795 | reading time: 8 minute


8739 0

Install and work environment

Install Python and configure the work environment on windows ...

by Ahmed Obaid on 6-11-2022

Installing or updating Python on your computer is the first step to …


words: 857 | reading time: 9 minute


11729 2

Install and work environment

Install Python and configure the work environment on Linux ...

by Ahmed Obaid on 8-11-2022


In this article, we will learn how to install Python on …


words: 648 | reading time: 6 minute


5455 0

Install and work environment

Install Python and configure the work environment on macOS ...

by Ahmed Obaid on 9-11-2022

Installing or updating Python on your computer is the first step to …


words: 971 | reading time: 10 minute


3639 0

comments

python comments

by Ahmed Obaid on 29-11-2022

Comments in Python are hints and descriptions that we use to make …


words: 448 | reading time: 4 minute


5473 0

reserved words

Reserved words in Python

by Ahmed Obaid on 29-11-2022

The reserved words in Python are the special and predefined words in …


words: 311 | reading time: 3 minute


7923 0

variables

Variables in Python

by Ahmed Obaid on 29-11-2022

A variable in Python is a location reserved in memory for storing …


words: 724 | reading time: 7 minute


13298 0

variables

Standard data that are used in Python variables

by Ahmed Obaid on 1-12-2022

The data stored in memory can be of several types. For example, …


words: 633 | reading time: 6 minute


2917 0

variables

Set multiple variables in one line in Python

by Ahmed Obaid on 6-12-2022

​As we mentioned earlier, a variable is a piece of memory with …


words: 434 | reading time: 4 minute


3695 1

variables

Global and local variables in Python

by Ahmed Obaid on 7-12-2022

​Global or global variables are variables that are declared outside the function. …


words: 527 | reading time: 5 minute


3721 0

data types

Data types in Python

by Ahmed Obaid on 13-12-2022

Python is a dynamic language. That is, we do not need to …


words: 188 | reading time: 2 minute


7421 0

numbers

Numbers in Python

by Ahmed Obaid on 13-12-2022

​You don't need to be a mathematician to code. Programmers only need …


words: 674 | reading time: 7 minute


4633 0

strings

Python String

by Ahmed Obaid on 18-12-2022

​Strings are among the most common data types in Python. We can …


words: 423 | reading time: 4 minute


2525 0

strings

Concatenation of Strings in Python

by Ahmed Obaid on 20-12-2022

​We call the merging of strings together concatenation or concatenation. Python offers …


words: 557 | reading time: 6 minute


2980 0

strings

Index and slice Strings in Python

by Ahmed Obaid on 21-12-2022

​A string in Python is a sequence of one or more characters …


words: 1023 | reading time: 10 minute


3436 0

python String capitalize() Method

by Ahmed Obaid on 27-12-2022

​The capitalize() function returns a new copy of the original string and …


words: 126 | reading time: 1 minute


1850 0

python String upper() Method

by Ahmed Obaid on 28-12-2022

​The upper() function converts all lowercase letters in a string to uppercase …


words: 185 | reading time: 2 minute


1782 0

python String lower() Method

by Ahmed Obaid on 28-12-2022

​The lower() function is a built-in function that is mainly used to …


words: 200 | reading time: 2 minute


1590 0

Python String swapcase() Method

by Ahmed Obaid on 28-12-2022

​The swapcase() function converts all uppercase letters to lowercase and vice versa. …


words: 207 | reading time: 2 minute


1383 0

Python String title() Method

by Ahmed Obaid on 29-12-2022

​The title() function converts the first letter of each word to uppercase …


words: 253 | reading time: 3 minute


1442 0

Python String center() Method

by Ahmed Obaid on 29-12-2022

​The center() function creates and returns a new string with the specified …


words: 383 | reading time: 4 minute


1512 0

Python String expandtabs() Method

by Ahmed Obaid on 4-1-2023

​The expandtabs() function returns a new string with the "\t" tabs replaced …


words: 262 | reading time: 3 minute


1914 0

Python String lstrip() Method

by Ahmed Obaid on 4-1-2023

The lstrip() function returns a copy of the string with the leading …


words: 172 | reading time: 2 minute


1477 0

strip() method in python

by Ahmed Obaid on 4-1-2023

​The strip() function returns a copy of the string with the characters …


words: 265 | reading time: 3 minute


1834 0

Python String rstrip() Method

by Ahmed Obaid on 13-1-2023

​The rstrip() function returns a copy of the string with the last …


words: 247 | reading time: 2 minute


1275 0

Python String ljust() Method

by Ahmed Obaid on 14-1-2023

​The ljust() function returns a new copy of the original string with …


words: 274 | reading time: 3 minute


1361 0

Python String rjust() Method

by Ahmed Obaid on 14-1-2023

​The rjust() function returns a new copy of the original string with …


words: 270 | reading time: 3 minute


1279 0


العربيّة