Ahmed Obaid blog | Tag: Python




Python String istitle() Method

by Ahmed Obaid on 14-1-2023

​The istitle() function returns True if the string is a title. otherwise …


words: 220 | reading time: 2 minute


1672 2

strings

Python String Methods

by Ahmed Obaid on 15-1-2023

Python provides a lot of built-in functions for manipulating strings. String in …


words: 595 | reading time: 6 minute


2981 0

Python String replace() Method

by Ahmed Obaid on 16-1-2023

​The replace() function returns a new copy of the string in which …


words: 334 | reading time: 3 minute


2815 0

Python String maketrans() - translate() Methods

by Ahmed Obaid on 17-1-2023

​The maketrans() function returns a transposition table that transposes each character in …


words: 236 | reading time: 2 minute


1688 0

strings

String exchange functions in Python

by Ahmed Obaid on 18-1-2023

Python provides a lot of built-in functions for manipulating strings. String in …


words: 168 | reading time: 2 minute


2398 0

Python String format() Method

by Ahmed Obaid on 19-1-2023

​The format() function formats complex strings more efficiently. By placing one or …


words: 573 | reading time: 6 minute


2063 1

Python String split() Method

by Ahmed Obaid on 24-1-2023

​The split() function splits the string by the specified separator and returns …


words: 385 | reading time: 4 minute


2843 0

Python String splitlines() Method

by Ahmed Obaid on 24-1-2023

The splitlines() function splits the string based on line breaks and returns …


words: 332 | reading time: 3 minute


2102 0

strings

String splitting functions in Python

by Ahmed Obaid on 26-1-2023

Python provides a lot of built-in functions for manipulating strings. String in …


words: 141 | reading time: 1 minute


1576 0

Python String startswith() Method

by Ahmed Obaid on 26-1-2023

​The startswith() function checks if a string starts with a prefix. If …


words: 361 | reading time: 4 minute


1970 0

Python String endswith() Method

by Ahmed Obaid on 28-1-2023

​The endswith() function checks if a string ends with a suffix. If …


words: 412 | reading time: 4 minute


2565 0

Python String isalpha() Method

by Ahmed Obaid on 11-2-2023

​The isalpha() function checks if all characters in a string are alphanumeric. …


words: 190 | reading time: 2 minute


1814 0

Python String isnumeric() Method

by Ahmed Obaid on 11-2-2023

​The isnumeric() function checks if all characters in a string are numeric …


words: 214 | reading time: 2 minute


1762 0

Python String isalnum() Method

by Ahmed Obaid on 11-2-2023

​The isalnum() function checks if all characters in a string are either …


words: 216 | reading time: 2 minute


1734 0

Python String isdigit() Method

by Ahmed Obaid on 11-2-2023

​The isdigit() function checks if all characters in a string are numeric …


words: 247 | reading time: 2 minute


1923 0

Python String islower() Method

by Ahmed Obaid on 13-2-2023

​The islower() function checks if characters in a string are lowercase. If …


words: 294 | reading time: 3 minute


1776 0

Python String isupper() Method

by Ahmed Obaid on 18-2-2023

​The isupper() function checks if the characters in a string are uppercase. …


words: 294 | reading time: 3 minute


1896 0

Python String isspace() Method

by Ahmed Obaid on 19-2-2023

​The isspace() function checks if the characters in a string are whitespace. …


words: 239 | reading time: 2 minute


1929 0

strings

String comparison functions in Python

by Ahmed Obaid on 20-2-2023

Python provides a lot of built-in functions for manipulating strings. String in …


words: 457 | reading time: 5 minute


2198 0

Python String count() Method

by Ahmed Obaid on 20-2-2023

​The count() function returns the number of occurrences of the substring passed …


words: 382 | reading time: 4 minute


3339 0

Python String find() Method

by Ahmed Obaid on 21-2-2023

​The find() function returns the index number of the first occurrence of …


words: 384 | reading time: 4 minute


2363 0

Python String rfind() Method

by Ahmed Obaid on 21-2-2023

​The rfind() function returns the index number of the last occurrence of …


words: 394 | reading time: 4 minute


1779 0

Python String index() Method

by Ahmed Obaid on 21-2-2023

​The index() function returns the index number of the first occurrence of …


words: 547 | reading time: 5 minute


2694 0

Python String rindex() Method

by Ahmed Obaid on 21-2-2023

​The rindex() function returns the index number of the last occurrence of …


words: 545 | reading time: 5 minute


1911 0

strings

String search functions in Python

by Ahmed Obaid on 22-2-2023

Python provides a lot of built-in functions for manipulating strings. String in …


words: 336 | reading time: 3 minute


1599 0

strings

Summary of strings in Python

by Ahmed Obaid on 24-2-2023

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


words: 3383 | reading time: 34 minute


5707 0

lists

Introduction to Lists in Python

by Ahmed Obaid on 26-2-2023

Lists can be defined as a collection of values ​​or items …


words: 293 | reading time: 3 minute


2793 0


العربيّة