Calculator

Calculator - A simple calculator to do basic operators. Make it a scientific calculator for added complexity. """ Q: Calculator - A simple calculator to do basic operators. Make it a scientific calculator for added complexity. """ def calculator(a, b, op): if op not in '+-/*': return 'Please only type one of these characters: "+, … Continue reading Calculator

SSL-Certificate-checker

import requests from bs4 import BeautifulSoup as bs import re url = "https://matlabhelpers.com/" page = requests.get(url) soup = bs(page.content , 'html.parser') head = soup.find('head') # re.findall(r'[^<]+', str(head)) #SSL secure ssl = soup.find(attrs={"rel": re.compile(r'canonical', re.I)}) # ssl['href'] if re.search('(https:)', ssl['href']): print('SSL Secure!!!') else: print('Bad news your website is not SSL secure')