Skip to content

Instantly share code, notes, and snippets.

View CodeFlareLisa's full-sized avatar

Lisa Lenhart CodeFlareLisa

  • United States
View GitHub Profile
@CodeFlareLisa
CodeFlareLisa / color.py
Created June 19, 2023 15:38 — forked from minism/color.py
python terminal colors
# Terminal color definitions
class fg:
BLACK = '\033[30m'
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
public class Code_Challenge_Solution {
public static void main(String[] args) {
int[] listFirst = {1, 2, 3, 5, 7, 9, 11, 12, 13};
int[] listSecond = {2, 4, 5, 6, 8, 10, 12};
int i = 0; // listFirst.length;
int j = 0; // listSecond.length;
while (i < listFirst.length && j < listSecond.length) {
if (listFirst[i] == listSecond[j]) {