Modules And Pip
Link to my github (This is learning code.)
pip is python install library command
pip install python-docx
uninstall
pip uninstall python-docx
modules
import modules_and_pip print(modules_and_pip.roll_dice(10))
import random
feet_in_mile = 5280
meters_in_kilometer = 1000
beatles = ["John Lennon", "Paul McCartney", "George Harrison", "Ringo Star"]
def get_file_exe(filename):
return filename[filename.index(".") + 1:]
def roll_dice(num):
return random.randint(1, num)