Skip to content

Instantly share code, notes, and snippets.

View gwo0d's full-sized avatar
🇺🇦
#SlavaUkraini

George Wood gwo0d

🇺🇦
#SlavaUkraini
View GitHub Profile
@gwo0d
gwo0d / user.py
Created December 14, 2022 11:20
A nice, secure, simple User class using salted SHA3-512 and implemented in Python.
import hashlib
import secrets
class User:
"""
A class to represent a user.
=========================
Attributes:
----------
@gwo0d
gwo0d / dictionary_challenge.py
Created August 11, 2022 13:30
A simple Python challenge about accessing items in dictionaries and lists...
dict = {
"item1": "Answer 1",
"item2": ["Answer 2"],
"item3": [{"item3-a": "Answer 3"}, {"item3-b": ["Answer 4"]}]
}
### Starter Task ###
"""
Rules:
1) You MUST NOT change anything between lines 1 and 5. You may only add code below this.
@gwo0d
gwo0d / Convertor.cs
Last active October 7, 2021 16:47
Celsius-Fahrenheit-Convertor
using System;
namespace Celsius_Fahrenheit_Convertor
{
public class Convertor
{
private double _celsius = 0;
private double _fahrenheit = 0;
private int _choice;