Can anyone tell me what is wrong in my program ? Why it is showing ' No output' . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone tell me what is wrong in my program ? Why it is showing ' No output' .

https://code.sololearn.com/cSHDz91ZVhb9/?ref=app

27th Jul 2021, 11:22 AM
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika)
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika) - avatar
2 Answers
+ 3
It's not showing any output because you don't have the 'main' function in your code. Simply just add the main function, like this: https://code.sololearn.com/cy2mM5wnVII1/?ref=app
27th Jul 2021, 11:28 AM
Md. Faheem Hossain
Md. Faheem Hossain - avatar
+ 2
Faheem Thanks
27th Jul 2021, 11:48 AM
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika)
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika) - avatar