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
for (i = "#"; i.length <= 8; i += "#"){ | |
console.log(i); | |
}; |
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
# open a .txt file and turn it into a list with variable name mylist | |
# that can be easily worked with in python | |
f = open('list1.txt','r') | |
mylist = list(f) | |
# saving that list into a new variable without line breaks | |
updatedlist = [l.replace('\n','') for l in mylist] | |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
#header { | |
background:#CCCCCC; | |
padding:7px; | |
margin:4px; | |
} | |