Saved Bookmarks
| 1. |
Consider the String s= "CHANDRAYAAN2". Write the statement inPython to implement the following1. To display the string "CHAND"2. To display the last four characters.3. To repeat the string 2 times.4. To display the output "CADAAN"5. To display the substring "CHANDRA" in one line and "YAAN2" in second line. |
| Answer» | |