- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
String replace() Method
- The replace() method Returns a string where a specified value is replaced with a specified value.(in the below code).
String splitlines() Method
- The splitlines() method is used for Splitting the string at line breaks (\n) and returns a list.String zfill() Method
- The zfill() method is used for filling the string with a specified number 0 at the beginning by their length.- In str2, length is 10, and fill with 0. (in the below code)
- Get link
- X
- Other Apps
Comments
Post a Comment