Print characters at even places in a string.

In this program, we will take a string as input and print characters at even places in a string.

Steps to solve the program
  1. Take a string as input.
  2. Use the range function to find the even places from the length of the string.
  3. Print only those characters at even places in a string using Indexing.

Output :

combine two strings into one.

check if a string has a number or not.

Leave a Comment