Skip to content

Instantly share code, notes, and snippets.

View isaacaddis's full-sized avatar

Isaac Addis isaacaddis

View GitHub Profile
// Variables
websiteList = ["google",
"youtube",
"facebook",
"baidu",
"yahoo",
"amazon",
"wikipedia",
"qq",
"reddit",
__author__ = 'Isaac'
def triSides():
a = int(input('Enter value for side A'))
b = int(input('Enter value for side B'))
c = int(input('Enter value for side C'))
if a + b <= c:
print('You cannot create a valid triangle.')
elif a + c <= b:
print('You cannot create a valid triangle.')
elif b + a <= c: