Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.Linq;
class rock_paper_scissors {
string player1;
string player2;
string player1_choice;
string player2_choice;
#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)
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]