This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import os | |
import re | |
from sklearn.decomposition import PCA | |
from microscopium import io | |
from microscopium.preprocess import montage_stream | |
from microscopium.preprocess import correct_multiimage_illumination | |
from microscopium.preprocess import find_background_illumination |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script takes a target sum from the user, along with a list of integers, and displays the pairs of numbers in the list | |
which sum to the target given. | |
""" | |
target_sum = int(input("Enter target sum: ")) | |
addends = [] | |
user_input = input("Please enter a number (Q to stop): ").lower() | |
# get integers from user until they choose to stop (assume user enters either integers or q for simplicity) | |
while user_input != "q": |
NewerOlder