coderz.py

Keep Coding Keep Cheering!

Strings in Python

A Python string is a collection of characters enclosed by single, double, or triple quotes. The string is an immutable sequence data type. The computer does not understand the characters; instead, it stores the manipulated character as a combination of 0’s and 1’s internally. Each character is encoded in either ASCII or Unicode. As a […]

November 23, 2022 | python | No comments

Escape Sequence

Java allows us to have certain non-graphic characters in character constants. (non-graphic characters are those which cannot be typed directly from the keyboard, e.g, backspace, tabs, carriage return, etc.). These characters are represented with the use of an escape sequence, which is represented by a backslash(\) followed by one or more characters. The following table […]

April 21, 2022 | Java | No comments

Advertisement