python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
c=str(input("Enter sentence = ")) a=input("enter the spacing = ") print("The string entered is a word =",c.isalpha()) print("The string entered in lower case =",c.lower()) print("The string entered is in lower case =",c.islower()) print("The string entered in lower case =",c.upper()) print("The string entered is in lower case =",c.isupper()) print("The string entered after removing the spave from left side =",c.lstrip()) print("The string entered after removing the spave from right side =",c.rstrip()) print("The string entered contains whitespace =",c.isspace()) print("The string entered is titlecased =",c.istitle()) print("The string entered after joining with ",a," =",a.join(c)) print("The string entered after swaping case =",c.swapcase())
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up