getting incorrect ans in two test cases
ide: https://ide.codingblocks.com/s/228997
ALice and totient
@Vishal123
totient(1) is 1 but your code is producing totient(1)=0. Just after line 40, write totient[1]=1. your code will work fine.
@Vishal123
totient(1) is 1 but your code is producing totient(1)=0. Just after line 40, write totient[1]=1. your code will work fine.