- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| import sys | |
| args = sys.argv | |
| assert(len(args) == 3) | |
| _, input_file, ouput_file = tuple(args) | |
| youtube_links = [] | |
| with open(input_file) as f: | |
| lines = f.readlines() |
| public class HelloWorld { | |
| public static void main(String[] args) { | |
| System.out.println("Hello World!"); | |
| } | |
| } |
| // Primitive types: | |
| // int for integer number: -2, -1, 0, 1, 2 | |
| int n = 5; | |
| // double for decimal numbers: 2.0, -1.3, .23 | |
| double pi = 3.14; | |
| // boolean: true or false values | |
| boolean isHappy = true; | |
| // char for single characters: c, a, q, 1, !, $, \n | |
| char c = 'g'; |
| // declarations | |
| int a; | |
| int[] b; | |
| Car toyota; | |
| // we "declare" b as an array of integers, then "instantiate" a new array of integers with size 10 and "assign" it to b. | |
| int[] b = new int[10]; | |
| // we "declare" toyota as a Car, then "instantiate" a new Car object and "assign" it to toyota. | |
| Car toyota = new Car(); |
| n02124075: Egyptian cat | |
| n04067472: reel | |
| n04540053: volleyball | |
| n04099969: rocking chair, rocker | |
| n07749582: lemon | |
| n01641577: bullfrog, Rana catesbeiana | |
| n02802426: basketball | |
| n09246464: cliff, drop, drop-off | |
| n07920052: espresso | |
| n03970156: plunger, plumber's helper |
| outdoors: | |
| n01774750: tarantula | |
| n01774384: black widow, Latrodectus mactans | |
| n12267677: acorn | |
| n03804744: nail | |
| n01644900: tailed frog, bell toad, ribbed toad, tailed toad, Ascaphus trui | |
| n07734744: mushroom | |
| n02802426: basketball | |
| n02165456: ladybug, ladybeetle, lady beetle, ladybird, ladybird beetle | |
| n01944390: snail |