100 self.ui.zt_outputq.setText(str()) self.ui.semua_input0.setText(str("SEMUA INPUT BERNILAI 0")) self.ui.semua_input1.setText(str()) elif (zo==0): self.ui.lbl_gagal.setText("GAGAL MENGHITUNG") self.ui.lbl_sukses.setText("") self.ui.daya_outputq.setText(str()) self.ui.d_outputq.setText(str()) self.ui.zind_outputq.setText(str()) self.ui.dlambda_outputq.setText(str()) self.ui.zt_outputq.setText(str()) self.ui.semua_input0.setText(str("ZO BERNILAI 0")) self.ui.semua_input1.setText(str()) elif (zl1==0 and zl2==0): self.ui.lbl_gagal.setText("GAGAL MENGHITUNG") self.ui.lbl_sukses.setText("") self.ui.daya_outputq.setText(str()) self.ui.d_outputq.setText(str()) self.ui.zind_outputq.setText(str()) self.ui.dlambda_outputq.setText(str()) self.ui.zt_outputq.setText(str()) self.ui.semua_input0.setText(str("ZL BERNILAI 0")) self.ui.semua_input1.setText(str()) else: self.ui.lbl_gagal.setText("") self.ui.lbl_sukses.setText("SUKSES MENGHITUNG") self.ui.semua_input0.setText(str()) self.ui.semua_input1.setText(str("TIDAK ADA PERINGATAN")) #satuan Z0 if self.ui.zo_satuanq.currentText() == "GΩ": zo = zo*10**9 elif self.ui.zo_satuanq.currentText() == "MΩ":
RkJQdWJsaXNoZXIy MTM3NDc5MQ==