New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Check this code
https://code.sololearn.com/WywHbYWu1173/?ref=app
Please use search bar you will get similar questions
https://www.sololearn.com/Discuss/2199325/?ref=app
To avoid duplication delete your question