Solving beautiful numbers in Python

preview_player
Показать описание
In this video we are solving the problem beautiful numbers given in Problem of the day on 14th November 2020.
If you have any questions, or suggestions please write in the comments.
Hope you guys enjoyed this video.
Like and subscribe as we are going to have more problems and fun stuff in the future ❤️
Рекомендации по теме
Комментарии
Автор

Kumar Shubham is alumni of VIT Chennai. He was part of VPROPEL development team and he is the one who developed the Problem of the Day (PoD) module :)

codekalavya
Автор

Full sapot. Much more power to you sir

WildFire
Автор

bro you're code is right
i used this code:
n=input()
fib=[8, 9]
s=0
for i in fib:
fib.append(i*10+8)
fib.append(i*10+9)
if len(str(i))==len(n):
break
n=int(n)
for i in fib:
if n%i==0:

print("beautiful")
s+=1
if s==0:
print(-1)

impavankkumar
Автор

Can anyone who used recursion share their code?

nithinrajan
visit shbcf.ru