Write a Python Program to get a new String From a Given String Where Is has Been Added to the Front

preview_player
Показать описание
Hi in this video I tried to explain you how to Write a Python Program to get a new String From a Given String Where "Is" has Been Added to the Front. If the Given String Already Begins With "Is" Then Return the String Unchanged

Python Scripts
======================

Python Functions Solved
==========================

Python Programs Solved
============================

Code
==============
def addIs(x):
return x
return "Is"+ x

temp = input("Enter a String : ")
print(addIs(temp))

Thank you for watching.

Keywords
===========
#python, #coding, #python3, #programming,
python add is to string at beginning is its not there.
Рекомендации по теме
Комментарии
Автор

How to do this with conditional statement?

vedha