tri0 makes it default to 0 when released (confused), hence when drive_high is high, the line is also high but when drive_high is low (0), line becomes high impedance, releases, and hence defaults to 0 as per tri0.
Code
/*Write your code here*/
module open_source_line (
input drive_high,
output tri0 line
);
assign line = drive_high? 1'b1: 1'bz;
endmodule