Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    My code works on other IDEs but wont work here, someone tell me what I did wrong

    def are_you_playing_banjo(name):
    e = name[0].lower()
    d = name[0].upper()

    if name[0] == d:
    
        print(name + " plays banjo")
    
    
        return name + " does not play banjo"
    
    elif name[0] == e:
    
        print(name + " plays banjo")
    
        return name + " does not play banjo"
    

    print(are_you_playing_banjo("Rikke"))