#python
Read more stories on Hashnode
Articles with this tag
Row with max 1s Given a boolean 2D array, consisting of only 1’s and 0’s, where each row is sorted. Return the 0-based index of the first row that has...
The chr() and ord() methods in Python are used to convert between characters and their corresponding ASCII or Unicode values. Here’s a detailed...
In Python, a string is a sequence of characters enclosed within single quotes ('), double quotes ("), or triple quotes (''' or """). Strings are used...
String Programs Q1 : Write a Program to input a string and a substring and then check for the occurrence of a substring in it. Code : sentence =...