Checking the string letters
Write a function that receives a string and checks all the letters.
If all the letters of the string were small, otherwise False would return
Write a function that receives a string and checks all the letters.
If all the letters of the string were small, otherwise False would return
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
nam = input("what your:") if name[0:] == lower() and name[0:]==isalpha() : print("True") else: print("False")
? 'Namerror: Name' Name 'is not defined. DID You Mean: 'NAM
print("enter you carecter") x = input(str) if x.islower(): # Examinations. I have used uppercase in the string print(True) else: print(False)
def string(): text = input("enter text: ") return True if text.islower() and text.isalpha() else False print(string())
def is_lower(str): if str.islower(): print ('true') else: print ('false') str=input('your str : ') is_lower(str)
let text = prompt("enter your text")
console.log(text == text.toLowerCase())
def get_string(value):
if value.islower():
print("true")
else:
print("false")
user_input = input("Get the value: ")
get_string(user_input)
def string (sen):
if sen.islower () == True:
print (True)
else:
print (False)
Submitting answers is currently unavailable.
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.