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
<div id="container"> | |
<div class="slider" style="background:#B5E61D;"> | |
<button>lala</button> | |
</div> | |
<div class="slider" style="background:#00A2E8;"></div> | |
<div class="slider" style="background:#4AD977;"></div> | |
<div class="slider" style="background:#FFC90E;"></div> | |
<div class="slider" style="background:#3F48CC;"></div> | |
</div> |
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
import requests | |
import json | |
def main(): | |
handle = raw_input('Twitter handle(without @)-') | |
r = requests.get('https://api.twitter.com/1/statuses/user_timeline/'+handle+'.json?callback=?&count=5') | |
obj = json.loads(r.content) | |
for i in range(0,5): | |
print "-"*24 | |
print obj[i]['user']['name'] + " tweeted -" |
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
<html> | |
<body> | |
<ul> | |
<li>link 1</li> | |
<li>link 1</li> | |
<li>link 1</li> | |
<li>link 1</li> | |
</ul> | |
</body> | |
</html> |
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
CLS | |
SCREEN 13 | |
PRINT "CALCULATOR-" | |
PRINT "ENTER YOUR EXPRESSION" | |
PRINT "EXAMPLE-58 * 20" | |
PRINT "THE TERMS SHOULD BE SEPARATED BY SPACE OR ERROR WILL OCCUR" | |
INPUT "ENTER YOUR EXPRESSION-"; EXP$ | |
EXP$ = EXP$ + " " |
NewerOlder