"""simple docstring"""






from __future__ import annotations

lowerCAmelCase__						:						Optional[Any]		  =			1.6021E-19  # units = C



def 						a_		(      lowerCamelCase      ,    lowerCamelCase      ,    lowerCamelCase      ,    ):
				if (conductivity, electron_conc, mobility).count(0 ) != 1:
								raise ValueError('You cannot supply more or less than 2 values' )
				elif conductivity < 0:
								raise ValueError('Conductivity cannot be negative' )
				elif electron_conc < 0:
								raise ValueError('Electron concentration cannot be negative' )
				elif mobility < 0:
								raise ValueError('mobility cannot be negative' )
				elif conductivity == 0:
								return (
								    "conductivity",
								    mobility * electron_conc * ELECTRON_CHARGE,
								)
				elif electron_conc == 0:
								return (
								    "electron_conc",
								    conductivity / (mobility * ELECTRON_CHARGE),
								)
				else:
								return (
								    "mobility",
								    conductivity / (electron_conc * ELECTRON_CHARGE),
								)


if __name__ == "__main__":
						import doctest

						doctest.testmod()




"""simple docstring"""






import socket



def 						a_		(      ):
				UpperCAmelCase__    =							socket.socket(socket.AF_INET      ,    socket.SOCK_STREAM )
				UpperCAmelCase__    =							socket.gethostname()
				UpperCAmelCase__    =							1_2_3_1_2

				sock.connect((host, port) )
				sock.send(b'Hello server!' )

				with open('Received_file'      ,    'wb' ) as out_file:
								print('File opened' )
								print('Receiving data...' )
								while True:
												UpperCAmelCase__    =							sock.recv(1_0_2_4 )
												if not data:
																break
												out_file.write(lowerCamelCase )

				print('Successfully received the file' )
				sock.close()
				print('Connection closed' )


if __name__ == "__main__":
						main()



