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
| # -*- coding: utf-8 -*- | |
| """cheap_strike_finder.ipynb | |
| Automatically generated by Colaboratory. | |
| Original file is located at | |
| https://colab.research.google.com/drive/1sVGv2uSodeMrkh7t-nc2iGlVndyeHekj | |
| """ | |
| !pip install pandas_datareader |
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
| //variable declared at top | |
| //can be accessed by all blocks of code | |
| int sunX, sunY, ballSpeed; | |
| color green = color (0, 200, 0); | |
| void setup() | |
| { | |
| size (800, 600); | |
| sunX = 50; | |
| sunY = 50; |
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 java.util.Scanner; | |
| //Shaun Stute | |
| //CS 160 | |
| //9/21/17 | |
| public class forLoopShapes { | |
| public static void main(String[] args) { | |
| int width; | |
| int length; | |
| String shape; | |
| String space = " "; |
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 java.io.*; | |
| import javax.swing.*; | |
| import java.awt.*; | |
| public class PopUpIO | |
| { | |
| private static String _prompt; | |
| private static String _fileName; |