Python Has A "Literal" Type That I've NEVER Seen Before
Indently Indently
214K subscribers
11,855 views
624

 Published On Aug 2, 2023

This import from the typing module is incredibly useful when you need to check value types. Sorry about the bad word play in the title.

▶ Become job-ready with Python:
https://www.indently.io

▶ Follow me on Instagram:
  / indentlyreels  

00:00 Intro
00:13 Writing the code
01:37 The problem
02:00 How to use Literal
03:31 Conclusion

show more

Share/Embed