Skip to content

Instantly share code, notes, and snippets.

View LuisPavelA's full-sized avatar
🛰️
Working on @Gearz-Studios

Luis LuisPavelA

🛰️
Working on @Gearz-Studios
View GitHub Profile
@LuisPavelA
LuisPavelA / countries.json
Last active October 15, 2022 00:48
Countries of the World (+ continents) JSON
{
"countries": [
{"name": "Afghanistan", "code": "AF", "continent": "asia"},
{"name": "Albania", "code": "AL", "continent": "europe"},
{"name": "Algeria", "code": "DZ", "continent": "africa"},
{"name": "Andorra", "code": "AD", "continent": "europe"},
{"name": "Angola", "code": "AO", "continent": "africa"},
{"name": "Antigua and Barbuda", "code": "AG", "continent": "asia"},
{"name": "Argentina", "code": "AR", "continent": "south_america"},
{"name": "Armenia", "code": "AM", "continent": "asia"},
@LuisPavelA
LuisPavelA / euclid's_algorithm.py
Last active March 19, 2022 19:01
My attempt to Euclid's Algorithm in Python
import math
num1 = int(input("First Number: "))
num2 = int(input("Second Number: "))
if (num1 > num2):
while (math.fmod(num1, num2) != 0):
if (num1 > num2):
difference = num1 - num2