+ 1

why isn't the link being printed?

I have included an external link but it isn't shown in the output https://code.sololearn.com/c6Tnm7lwQ7Uc/?ref=app

6th Aug 2021, 6:11 PM
Harsha S
Harsha S - avatar
5 Antworten
+ 2
For what input does it gets printed ? I entered b10001 and it printed the link for me.
6th Aug 2021, 6:25 PM
Abhay
Abhay - avatar
+ 2
Sorry just noticed that for some reason it is not being printed here.
6th Aug 2021, 6:36 PM
Abhay
Abhay - avatar
+ 1
Abhay if the input consists only 1s and 0s, it gets converted else the link is printed
6th Aug 2021, 6:27 PM
Harsha S
Harsha S - avatar
+ 1
Abhay of course the link gets printed My question is why isn't it printed in sololearn
6th Aug 2021, 6:28 PM
Harsha S
Harsha S - avatar
+ 1
Sololearn is blocking you from printing the link. But if you run it on your computer the link will be printed. The reason sololearn doing this is these link can contain malicious scripts and affect the platform.
6th Aug 2021, 9:14 PM
Iftekhar Ahmed Pranto
Iftekhar Ahmed Pranto - avatar