Python | Sleep in Milliseconds

Sleeping means suspension of the current thread execution. If a sleep statement is put between two statements, the later one will not get executed until the specified time specified in the sleep statement is elapsed. The sleep statement simply puts the thread in suspension and wait for a signal. After receiving the signal that the … Continue reading “Python | Sleep in Milliseconds”

Python | Substring

Substring is a sequence of characters within a string. In Python we can get different types of substrings using slicing operation. Syntax of Python substring: string[start:end:step] start: Starting index of the substring. The substring will include the character of this index. Starting index will be 0 if not specified. end: End index of the substring. … Continue reading “Python | Substring”

0
0
0
0
0
0