Your task is very simple. Given an input string s, case\_sensitive(s), check whether all letters are lowercase or not. Return True/False and a list of all the entries that are not lowercase in order of their appearance in s.

For example, case\_sensitive('codewars') returns [True, []], but case\_sensitive('codeWaRs') returns [False, ['W', 'R']].


Goodluck :)

Have a look at my other katas!

Alphabetically ordered 
Find Nearest square number 
Not prime numbers

Difficulty: introductory

Starter code:

def case_sensitive(s):
	

Solutions:
def case_sensitive(s):
    return [s.islower() or not s, [c for c in s if c.isupper()]]

l,case_sensitive=lambda s:[not any(s),s],lambda s:l([x for x in s if x.isupper()])

def case_sensitive(s):l=list(filter(str.isupper,s));return[not l,l]

def case_sensitive(s):
    return [not s or s.islower(), [c for c in s if c.isupper()]]

def case_sensitive(s):
    result = [char for char in s if char.isupper()]
    return [ result == [], result ]

def case_sensitive(s):
    l = [x for x in s if x.isupper()]
    return [l == [], l]

def case_sensitive(s):
    lst = [x for x in s if x.isupper()]
    return [len(lst) == 0, lst]

def case_sensitive(s):
    res = list(filter(str.isupper, s))
    return [not res, res]

def case_sensitive(s):
    x = [c for c in list(s) if not c.islower()]
    return [not bool(x), x]

def case_sensitive(s):
    uppers = [c for c in s if c.isupper()]
    return [not uppers, uppers]