sparse-intern-71089
03/24/2023, 11:32 PMcreamy-monkey-35142
03/25/2023, 1:15 PMcreamy-monkey-35142
03/25/2023, 1:17 PMUnion typing is only needed when you have a statically typed language, as you need to declare that an object can return one of multiple types (in your case an int or str, or in the other example str or NoneType)
creamy-monkey-35142
03/25/2023, 1:17 PMcreamy-monkey-35142
03/25/2023, 1:17 PMhallowed-postman-2096
03/27/2023, 4:45 PM