This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables | |
websiteList = ["google", | |
"youtube", | |
"facebook", | |
"baidu", | |
"yahoo", | |
"amazon", | |
"wikipedia", | |
"qq", | |
"reddit", |