Python Has A "Literal" Type That I've NEVER Seen Before

Python Has A "Literal" Type That I've NEVER Seen Before

Indently

1 год назад

11,981 Просмотров

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:
https://www.instagram.com/indentlyreels

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

Тэги:

#pyton #pyhton #pythn
Ссылки и html тэги не поддерживаются


Комментарии: