What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-15 22:32:18
instagram username checker
import requests import random import time import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) f = open("username_text_file.txt", "r") # create a text file with the usernames you want to check data = f.re... Add solution -
Python 2021-09-26 13:39:01
python bots
#I'm assuming that people would like a chatbot: Here is an example of one that tells an adventure story. #Feel free to make any changes. #I'm not going to write out a completed bot, by the way. #Importing the time and random modules. import random impor... Add solution -
Java 2021-08-27 13:45:01
Mergesort parallelization using Spark
import random import time from pyspark import SparkContext def execute_merge_sort(generated_list): start_time = time.time() sorted_list = merge_sort(generated_list) elapsed = time.time() - start_time print('Simple merge sort: %f sec' % el... Add solution
Best helpers
Ranking is empty