mirror of
https://github.com/codeninjasuk/python-camp-24.git
synced 2024-11-21 23:08:22 -05:00
12 lines
251 B
Python
12 lines
251 B
Python
import importlib
|
|
|
|
taskname = input("Type the Activity Number\n:")
|
|
|
|
print("Running Activity " + taskname.strip())
|
|
|
|
try:
|
|
importlib.import_module('activity' + taskname.strip())
|
|
except Exception as e:
|
|
print("Error: ", e)
|
|
|
|
print("Execution Ends Here")
|