I think this is what you meant. Your code should be inside the BEGIN/END block, and it wasn't.
CREATE TRIGGER Customers_country_Insert_Update
ON Customers
AFTER INSERT, UPDATE
AS
BEGIN
SET NOCOUNT ON;
UPDATE Customers
SET Country=UPPER(Country)
WHERE CustomerID IN (SELECT inserted.CustomerID FROM inserted);
END
Happy learning!