Python Practice › String Programs › Program 96

Add "ing" to a string

EasyString Programs · 96 of 106

Write a Python program to add “ing” at the end of a string.

Advertisement
Input
"xyz"
Output
xyzing

Approach

  1. Concatenate.

Solution

Python
print("xyz" + "ing")
Output
xyzing

Learn the concept

New to this topic? Read the lesson, then come back.

More string programs

← All 106 String Programs

Leave a Comment