Deep Learning
Exploration of Linear Unit
Search for a command to run...
Articles tagged with #python3
Exploration of Linear Unit
def newPrint(color, word): if color=="red": print("\033[31m", word, sep="", end="") elif color=="green": print("\033[32m", word, sep="", end="") elif color=="blue": print("\033[34m", word, sep="", end="") else: print("\033[0m"...
import random, os, time def rollDice(side): result = random.randint(1,side) return result def health(): healthStat = ((rollDice(6)*rollDice(12))/2)+10 return healthStat def strength(): strengthStat = ((rollDice(6)*rollDice(8))/2)+12 re...
#DAY 23 100Dya of Python print ("WELCOME TO THE TEST SYSTEM") def login_details(): while True: username = input("What is your name? ") password = input("Please Input your password ") if username == "Theophilus" and password == "solomon...
#DAY 13 Of 100Days od code print ("EXAM GRADE CALCULATOR") print() student = input("what is your name: ") subject = input("what subject exams did you write recently: ") score = int(input("what was your score in the exams you wrote: ")) total = int...
##DAY 9 100DAYS OF PYTHON print("GENERATION GENERATOR") Age = int(input("what year were you born? ")) if Age >= 1925 and Age <= 1946: print ("You are a traditionalist") elif Age >= 1947 and Age <= 1964: print ("You are Baby boomer") elif Age >= ...