package com.flipper83.katapotter;

import java.util.List;

public class BasketCalculator {
    public int calculatePrice(List<String> books) {
        return 0;
    }
}

@@ -86,16 +86,58 @@
 tor %7B%0A  
+private static final int BOOK_PRICE = 8;%0A%0A
   public
@@ -182,16 +182,56 @@
 ) %7B%0A    
+int amount = BOOK_PRICE * books.size();%0A
     retu
@@ -237,13 +237,16 @@
 urn 
-0;%0A  
+amount;%0A
   %7D%0A

Return valid total amount for a basket with one book