Problem with getting public IP address from reading URL (in python) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Problem with getting public IP address from reading URL (in python)

So, this code displays different IPv4 address everytime it's executed, and I'm tryin to figure out how to solve this problem https://code.sololearn.com/cqS4emD54sJK/?ref=app

15th Jun 2019, 12:01 PM
mmm...
mmm... - avatar
2 Answers
+ 4
Hey bro your code work fine and don't have any error or even any logic problem the reason behind it changes every time because public id is changes every time and it is not static.
15th Jun 2019, 1:54 PM
Maninder $ingh
Maninder $ingh - avatar
+ 3
15th Jun 2019, 1:59 PM
mmm...
mmm... - avatar