why it is not showing the output??
Print lcs problem
Hi @chehakagrawal01
Code is not printing any output because in the while loop you have reduced your dtu variable to 0 hence in the for loop for printing dtu is considered as 0 and hence nothing is printed.
i have changed the code but now also it is showing wrong output
few changes i have made in your code have a look.