Question: Write a Python program called Exercise1.py. Your program should print the following information: Python version you are using Current date and time IP address of
Write a Python program called Exercise1.py. Your program should print the following information:
Python version you are using
Current date and time
IP address of your computer
Use simple codes such as:
sys module and sys.version datetime module and now() function socket module, gethostname() and gethostbyname() functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
