View Code? Open in Web Editor
NEW
License: GNU General Public License v3.0
frwdit's Introduction
Hi, I'm Kaipulla | ![Profile Views](https://camo.githubusercontent.com/dcde51c6348ed61df9de81c6247625523027c9870724d1c6bc6b4403b8816f96/68747470733a2f2f677076632e6172747572696f2e6465762f4b616970756c6c617661646976656c75)
โ
import json
from dataclasses import asdict, dataclass
@dataclass
class Stack:
languages : tuple[str, ...] = ("Python", "Bash", "HTML", "CSS")
misc : tuple[str, ...] = ("Docker", "Linux", "FastAPI")
ongoing : tuple[str, ...] = ("Django", "Java", "JavaScript")
def serialize(self):
return json.dumps(asdict(self), indent=4)
stack = Stack()
print(stack.serialize())
printf("Hola! Welcome To Kaipulla's World !! ๐"
โ
frwdit's People
Contributors