Skip to content

Commit c014c63

Browse files
Gabriel SantanaGabriel Santana
Gabriel Santana
authored and
Gabriel Santana
committed
GetIp
1 parent 9c010a4 commit c014c63

File tree

5 files changed

+185
-3
lines changed

5 files changed

+185
-3
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 173 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GetIP.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import socket
2+
3+
hostname = input("Please enter website address:\n")
4+
5+
print(f'The {hostname} IP Address is {socket.gethostbyname(hostname)}')

0 commit comments

Comments
 (0)