what to do if i need to i need to use in a string python code example
Example: str(n)
for x in range(0,len(no)):
rotation = no[x:len(no)] + no[0:x]
if not prime(int(rotation)) :
return False
return True
for x in range(0,len(no)):
rotation = no[x:len(no)] + no[0:x]
if not prime(int(rotation)) :
return False
return True