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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
class rock_paper_scissors { | |
string player1; | |
string player2; | |
string player1_choice; | |
string player2_choice; | |
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
#include <iostream> | |
#include <math.h> | |
using std::cout; | |
using std::endl; | |
void graph_table(int first_value, int number_of_values, int rate_of_change = 1, int type = 1) | |
{ | |
/*Makes a table for three types of funtions, | |
linear (1), exponential(2), and quadratic function (3) |
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 random | |
#Defining functions | |
def change_input(x, message): | |
x = x.lower().replace(' ','') | |
while x not in options: | |
return change_input(input(message), message) | |
return x | |
def change_spot_o(o): | |
spot = options.get(o) | |
row = spot[0] |