#python
Read more stories on Hashnode
Articles with this tag
def wrapper(f): def fun(l): f(["+91 "+ c[-10:-5]+" " + c[-5:] for c in l]) return fun @wrapper def sort_phone(l): ...
from fractions import Fraction from functools import reduce def product(fracs): t = (reduce(lambda x, y: x*y, fracs)) return t.numerator,...
Just solved all Built-Ins challenges in Python on @HackerRank . Try it out! https://hr.gs/1vo8 #programming N = int(input()) integers =...
import re for _ in range(int(input())): try: re.compile(input()) print("True") except re.error: print("False")
Just solved all challenges of this module on hackerrank!
import random questions = {"1.What is the most common full form for AI?": [["Artificial Intelligence", "Automated Integration", "Autonomous...