Ad
Code
Diff
  • def calculate_square_sums(list_squares):
        Владислав = [0]
        for Владислав in list_squares:
    
    • def calculate_square_sums(list_squares):
    • pass
    • Владислав = [0]
    • for Владислав in list_squares:
Code
Diff
  • def count_sheeps(sheeps):
        print(sum(1 for w in sheeps.split() if w.rstrip(',.!?:;') == 'True'))
        return 0
    
    • def count_sheeps(sheeps):
    • pass
    • print(sum(1 for w in sheeps.split() if w.rstrip(',.!?:;') == 'True'))
    • return 0