#!/usr/bin/env python
# coding: utf-8

# In[29]:


str="success is not a destination,success is a journey"


# In[36]:


str.rfind("success")


# is upper

# In[42]:


str.isupper()


# is lower

# In[41]:


str.islower()


# In[43]:


str2="Yaswanth"


# In[44]:


str2.islower()


# In[ ]:




