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
<!doctype html> | |
<!-- Thank you to Yong Bakos - Oregon State Cascades --> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
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
""" | |
Sample Python Code | |
""" | |
def sample_one(): | |
''' | |
Input two numbers | |
Print the result of the product | |
''' | |
x = int(input("Number? ")) |
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
import java.util.*; | |
/** | |
* Simple on-the-fly example of Comparable and | |
* Comparator. | |
* | |
* @author Peter Casey | |
* @version 0.1 | |
*/ | |
public class CC implements Comparable<CC> | |
{ |
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
/** | |
* TesterBool | |
* <br> | |
* <p>Build a logical expression using True(#) and False(#) | |
* method calls. Number the T/F calls sequentially, left to right. | |
* </p> | |
* <p>The output displays the numbers of the called methods, if | |
* evaluated, and the final result. | |
* </p> | |
* <p>Example: False(1) && (True(2) || False(3)) || True(4) |
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
""" | |
BinaryTree code using Python Lists | |
[5, [4, [], []], []] | |
[3, [9, [4, [], []], []], [7, [], [6, [], []]]] | |
[3, [9, [11, [4, [], []], []], []], [7, [], [6, [], []]]] | |
[6, [], []] | |
""" | |
def BinaryTree(r): |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
<style> | |
h1 {color: red} | |
</style> | |
</head> | |
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
<!doctype html> | |
<!-- Thank you to Yong Bakos - Oregon State Cascades --> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |