Varjinth subramaniyanmycodingjourneyy.hashnode.dev·Jun 27, 2023Project Euler Problem#29#python program to find the no. of distinct terms are in the a power b sequence import unittest def distinct_power(num): if type(num)!=int or num<2: return None list1=[] for a in range(2,num+1): for b in range(2,num+1): ...100DaysOfCodeAdd a thoughtful commentNo comments yetBe the first to start the conversation.