I hereby claim:
- I am the-serpants on github.
- I am sasidhar_royal (https://keybase.io/sasidhar_royal) on keybase.
- I have a public key whose fingerprint is BD76 C9A6 A671 4A58 4CAC 47D6 9C6B BB5D 2B0D 9DE3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
name=input("Enter the name ") | |
age = int(input("Enter your age ")) | |
print("Your name is {} ".format(name)) | |
print(f"Your age is {age} , you will turn to 100 years old in {2120-age}") |
import time | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
from PIL import Image | |
import cv2 | |
options = Options() | |
options.headless = True | |
driver = webdriver.Firefox( | |
executable_path=r"C:\Users\sasid\Downloads\geckodriver.exe", options=options) |
import boto3,os | |
from pathlib import Path | |
from flask import jsonify,Flask,request | |
#initialize flask app | |
app=Flask(__name__) | |
#util functions | |
def get_bucket(): |
import boto3,os | |
from pathlib import Path | |
from flask import jsonify,Flask,request | |
#initialize flask app | |
app=Flask(__name__) | |
#util functions | |
def get_bucket(): |
const multiFilter = (A,F) => { | |
const filterkeys = Object.keys(F); | |
return A.filter(eachObj => { | |
return filterkeys.every(eachKey => { | |
console.log('hi') | |
if(!F[eachKey].length){ | |
return true // ignore filter and return all | |
} | |
return eachObj[eachKey].includes(F[eachKey]) | |
}) |
import json | |
import pydantic | |
from typing import Optional , List | |
books_list = '''[ | |
{ | |
"isbn_10": "1593279509", | |
"isbn_13": "1593279509", | |
"title": "Eloquent JavaScript, Third Edition", | |
"subtitle": "A Modern Introduction to Programming", |
''' | |
SOLID DESIGN PRINCIPLES | |
[S]INGLE RESPONSIBILITY | |
[O]PEN / CLOSED | |
[L]ISKOV SUBSTITUTION | |
[I]NTERFACE SEGREGATION | |
[D]EPENDENCY INVERSION | |
''' | |