PikaDaDon
Thunderbolt Them Suckers
October 28th, 2019
- Finished up learning about git, the commands to know, how to rebase, change the config file, how it works on a lower level and how it relates to github as a vcs
- Created a repo for my "business" idea and I will be using it as a foundation for my programming knowledge. I want to build it from the ground up and be responsible for the whole stack a long with the property security and DevOps tools.
- Now I'm moving onto python coding(a weakness of mine..coding in general)
Well since you're going the python route I decided to try to learn it also.
Video
Book
http://bedford-computing.co.uk/lear....Starch.Python.Oct_.2015.ISBN_.1593276036.pdf
Just made a stupid guessing game
Code:
import sys
import math
from random import seed
from random import random
import time
def main():
answer = int(random() * 100)
while True :
guess = int( input( "Guess a number between 1 and 100.") )
if guess < answer :
print( "The answer is higher" )
elif guess > answer :
print( "The answer is lower" )
else:
break
print( "OMG You Won!" )
if __name__ == "__main__":
main()