This file contains hidden or 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
num1 = int(input("Enter your Dividend number: ")) | |
num2 = int(input("Enter you Divisor number: ")) | |
num3 = 0 | |
def findRemainder(first, second): | |
return first%second | |
print(findRemainder(num1, num2)) | |
This file contains hidden or 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
def buildMatrix(x, y): | |
for r in range(1,x): | |
for c in range(1,y): | |
n = r*c | |
print(n, end=' ') | |
print() | |
buildMatrix(5,5) |
This file contains hidden or 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
var leftLeaning = ['cnn','nbc','msnbc','theguardian.com','npr','abc-news','cbs-news','nytimes.com','bbc.com','pbs','huffington-post','politico','economist','huffpost.com','vox.com','slate.com','usa today','the washington post','cbs news','nbc news', 'business insider', 'al jazeera english', 'al jazeera','latimes.com','cnbc','cnbc television']; | |
var rightLeaning = ['nypost.com','fox news', 'forbes']; | |
var centerLeaning = ['reuters','bloomberg','chicagotribune.com','the hill','npr.org']; | |
var nonPolitical = ['collider.com','tmz.com','engadget','espn.com','ninersnation.com','spaceflightnow.com','cnet.com','cbssports.com','hollywoodreporter.com','wired','hypebeast.com','gamespot.com','benzinga','yahoo finance','the motley fool','zacks','gurufocus','investorplace','bloomberg markets and finance','seeking alpha','see it market']; |
This file contains hidden or 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
app.get('/random', function(req,res) { | |
var randomSite = [ | |
"https://michaelgathara.com", | |
"https://wikiwand.com/", | |
"http://www.staggeringbeauty.com/", | |
"https://trypap.com/", | |
"http://www.omfgdogs.com/#", | |
"https://cat-bounce.com/", | |
"https://isitchristmas.com/", | |
"https://michaelgathara.com/yt", |
This file contains hidden or 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
@-webkit-keyframes rainbow { | |
0% {border-color: hsl(0, 100%, 50%);} | |
14% {border-color: hsl(30,100%,50%);} | |
28% {border-color: hsl(60,100%,50%);} | |
42% {border-color: hsl(120,100%,50%);} | |
56% {border-color: hsl(240,100%,50%);} | |
70% {border-color: hsl(280,100%,50%);} | |
84% {border-color: hsl(320,100%,50%);} | |
100% {border-color: hsl(255, 100%, 50%);} | |
} |
NewerOlder