Pythonで型ヒント(Type Hints)を書いていると、実務的なコードでは「一つの型」に収まらないケースによく遭遇します。 「ユーザーIDは、数字(101)の時もあれば、文字列("admin")の時もある」 「デバッグ用の関数だから、どんなデータが来ても受け入れ ...
Purpose is given two sets A,B find the union of them. I know there must be more efficients ways than what I, am doing here but havn't figured out how yet.