Python Project

Program to print a string with space in between each character of the given string.

Class 11th IP CBSE

Assignment

Q.4 Program to print a string with space in between each character of the given string.

Solution :- 

string = input(“Enter the Statement :- “)

#Displays individual characters from given string
print(“Individual characters from given string:”);

#Iterate through the string and display individual character
for i in range(0, len(string)):
      print(string[i], end=” “);

Output:-

 

 

Try this 

Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable

Popular Videos

Play Video

UX for Teams

Learn the basics and a bit beyond to improve your backend dev skills.

ava4.png
Chris Matthews

Designer

Play Video

SEO & Instagram

Learn the basics and a bit beyond to improve your backend dev skills.

ava4.png
Chris Matthews

Designer