📅  最后修改于: 2023-12-03 14:42:11.177000             🧑  作者: Mango
ISRO CS 2017 exam is conducted by the Indian Space Research Organization (ISRO) for recruitment of computer science engineers for various job profiles. Chapter 65 of the ISRO CS 2017 exam covers various topics related to computer networks.
The following topics are covered in Chapter 65:
To prepare for Chapter 65 of the ISRO CS 2017 exam, here are a few tips:
# Python code to find IP address of a website
import socket
website = input("Enter website name: ")
ip_address = socket.gethostbyname(website)
print("IP address of", website, "is", ip_address)
This code snippet shows how to find the IP address of a website using Python programming. gethostbyname
function of the socket
module is used to get the IP address of the given website. This code can be useful in network programming where IP addresses need to be resolved dynamically.