Skip to content

Instantly share code, notes, and snippets.

View siddhantshr's full-sized avatar
💀
Hyena Hostable!

Siddhant Sharma siddhantshr

💀
Hyena Hostable!
View GitHub Profile
@siddhantshr
siddhantshr / postgresql.md
Last active July 24, 2021 16:10
Fastest way to download PostgreSQL in any OS.

How to install PostgreSQL on any OS, the fastest way.

MacOS Mojave (10.14) (or higher):

Requirements: HomeBrew

$ brew install postgresql
$ brew services start postgresql
# question : https://tinyurl.com/4b2xj3bb
def input_numbers():
"""Inputting the list"""
numbers = input("Enter nums seprated by spaces: ")
numbers = numbers.split(" ")
nums = []
for x in numbers:
try:
nums.append(int(x))