content
stringlengths
7
1.05M
#--- def plotUAVcontrolSignals(df,plt): ## - Plot the Control Signals fig, axs = plt.subplots(2,2, sharex=True) fig.suptitle("Control Signals (Executed by the Drone)") # ---------- u_\theta axs[0,0].plot(df['time'], df['A.pSCU[0]']) axs[0,0].set(ylabel=r'$u_{\theta}~$ [rad]') axs[0,0].grid(True) axs[0,0].set(xlim=(min(df['time']), max(df['time'])), ylim=(min(df['A.pSCU[0]'])-0.025, max(df['A.pSCU[0]'])+0.025)) # ---------- u_\phi axs[0,1].plot(df['time'], df['U[1]']) axs[0,1].set(ylabel=r'$u_{\phi}~$ [rad]') axs[0,1].grid(True) axs[0,1].set(xlim=(min(df['time']), max(df['time'])), ylim=(min(df['U[1]'])-0.025, max(df['U[1]'])+0.025)) # ---------- u_{\Dot{\psi}} axs[1,0].plot(df['time'], df['U[2]']) axs[1,0].set(xlabel='time [$s$]', ylabel='$u_{\dot{\psi}}~$ [rad/s]') axs[1,0].grid(True) axs[1,0].set(xlim=(min(df['time']), max(df['time'])), ylim=(min(df['U[2]'])-0.025, max(df['U[2]'])+0.025)) # ---------- u_{\Dot{z}} axs[1,1].plot(df['time'], df['U[3]']) axs[1,1].set(xlabel='time [$s$]', ylabel='$u_{z}~$ [m/s]') axs[1,1].grid(True) axs[1,1].set(xlim=(min(df['time']), max(df['time'])), ylim=(min(df['U[3]'])-0.025, max(df['U[3]'])+0.025)) Fig = plt.gcf() plt.show() # the axes attributes need to be set before the call to subplot plt.rcParams.update({ "grid.color": "0.5", "grid.linestyle": "--", "grid.linewidth": 0.25, "lines.linewidth": 1, "lines.color": "g"}) plt.rcParams.update({ "text.usetex": True, "font.family": "sans-serif", "font.sans-serif": ["Helvetica"]}) # set font of all elements to size 15 plt.rcParams['figure.figsize'] = (22,8) plt.rc('font', size=26) plt.rc('axes', titlesize=25) plt.rc('text', usetex=True) plt.rc('font', family='serif') print('\n') plt.show() return fig
def arr_pair_sum(arr, k): # edge case if len(arr) < 2: return # set for tracking seen = set() output = set() for num in arr: target = k - num if target not in seen: seen.add(num) else: output.add((min(num, target), max(num, target))) return len(output) print(arr_pair_sum([1, 3, 2, 2], 4))
def sanitize(time_string): if "-" in time_string: splitter = "-" elif ":" in time_string: splitter = ":" else: return time_string (mins, secs) = time_string.split(splitter) return mins + "." + secs with open("james.txt") as jaf: data = jaf.readline() james = sorted([sanitize(each_t) for each_t in data.strip().split(",")]) with open("julie.txt") as jaf: data = jaf.readline() julie = sorted([sanitize(each_t) for each_t in data.strip().split(",")]) with open("mikey.txt") as jaf: data = jaf.readline() mikey = sorted([sanitize(each_t) for each_t in data.strip().split(",")]) with open("sarah.txt") as jaf: data = jaf.readline() sarah = sorted([sanitize(each_t) for each_t in data.strip().split(",")]) clean_james = [] clean_julie = [] clean_mikey = [] clean_sarah = [] for each_t in james: if each_t not in clean_james: clean_james.append(sanitize(each_t)) for each_t in julie: if each_t not in clean_julie: clean_julie.append(sanitize(each_t)) for each_t in mikey: if each_t not in clean_mikey: clean_mikey.append(sanitize(each_t)) for each_t in sarah: if each_t not in clean_sarah: clean_sarah.append(sanitize(each_t)) print(clean_james[0:3]) print(clean_julie[0:3]) print(clean_mikey[0:3]) print(clean_sarah[0:3])
# Backport of str.removeprefix. # TODO Remove when minimum python version is 3.9 or above def removeprefix(string: str, prefix: str) -> str: if string.startswith(prefix): return string[len(prefix) :] return string
# Some magic data values exist. # They often represent missing data. More information can be found at the following link. # https://www.census.gov/data/developers/data-sets/acs-1year/notes-on-acs-estimate-and-annotation-values.html class Magic: MISSING_VALUES = [ None, -999999999, -888888888, -666666666, -555555555, -333333333, -222222222, ]
""" Author: Ioannis Paraskevakos License: MIT Copyright: 2018-2019 """ # ------------------------------------------------------------------------------ # States NEW = 0 # New campaign is submitted PLANNING = 1 # Planning the exeuction of the campaign EXECUTING = 2 # At least one workflow is executing DONE = 3 # Campaign has finished successfully FAILED = 4 # Campaign execution has failed CANCELED = 5 # Campaign got canceled by the user. CFINAL = [DONE, FAILED, CANCELED] # Final states for a campaign. state_dict = {0: 'NEW', 1: 'PLANNING', 2: 'EXECUTING', 3: 'DONE', 4: 'FAILED', 5: 'CANCELED' } # ------------------------------------------------------------------------------
class Tile (object): """ This is the abstract representation of Tiles, the building blocks of the world.""" def __init__ (self, stage, x, y): self.stage = stage self.x = x self.y = y "initializes the tile with a random type from the types list" self.tile_type = self.stage.tile_type_initializer() def get_tile_location (self): "Returns an x,y tuple for the tile." return (self.x, self.y) def set_tile_type (self, target_type): if target_type in self.stage.tile_types: self.tile_type = target_type else: print("Not a valid tile type.")
def sample(task): if task is not logistic: raise NotImplementedError # Parametric Generator for Logistic Regression Task (TODO: Generalize for Task - Parameter Specification) theta = [np.random.uniform( 1, 10), np.random.uniform( 1, 10), np.random.uniform(-1, 1)] return task(sample_space, theta), theta def sample_points(task, batch_size): # Sample Random Points from Sample Space idx = np.random.choice(np.arange(len(sample_space)), batch_size, replace = False) return sample_space[idx[:,None]], task[idx[:,None]] def meta_sample(radius, count): # Generate Sample Space of Specified Radius sample_space = np.linspace(-radius, radius, count) return sample_space
def read_input(): joltages = [] with open('day10_input.txt') as input_file: for line in input_file: line = line.strip() joltages.append( int(line) ) return joltages # Find a chain that uses all of your adapters to connect the charging outlet # to your device's built-in adapter and count the joltage differences # between the charging outlet, the adapters, and your device. What is # the number of 1-jolt differences multiplied by the number of 3-jolt # differences? def part1(joltages): # 1 in position 3 as there's an implicit 3 jolt jump # as the last step diffs = [0, 0, 0, 1] for i in range(1, len(joltages)): diff = joltages[i] - joltages[i-1] diffs[diff] += 1 return diffs # Part 2: What is the total number of distinct ways you can arrange # the adapters to connect the charging outlet to your device? def part2(joltages, joltage_jumps): # observation: 3-jolt jumps are mandatory and so don't count for anything # How many possibilites does a run of n consecutive 1-jolt jumps allow for? # Find all the runs of 1-jumps, then how many possibilites they provide, # then multiply them all. # Consider runs x, x+1, x+2, ..., x+N # For N=2, the 2 possibilities are: # 0, 1, 2 OR 0, 2 # For N=3, the 4 possibilities are: # 0, 1, 2, 3 OR 0, 2, 3 OR 0, 1, 3 OR 0, 3 # For N=4, the 7 possibilities are: # 0, 1, 2, 3, 4 OR 0, 2, 3, 4 OR 0, 1, 3, 4 OR 0, 1, 2, 4 OR # 0, 1, 4 OR 0, 2, 4 OR 0, 3, 4 # There must be a more satisfying way to do this but N=4 is all that was # needed to solve the problem permutations = [1, 1, 2, 4, 7] one_jump_runs = [] run_length = 0 for i in range(1, len(joltages)): diff = joltages[i] - joltages[i - 1] if diff == 1: run_length += 1 else: one_jump_runs.append(run_length) run_length = 0 one_jump_runs.append(run_length) one_jump_runs = list(filter(lambda x: x > 1, one_jump_runs)) total_possibilities = 1 for run_length in one_jump_runs: total_possibilities *= permutations[run_length] return total_possibilities joltages = read_input() joltages.append(0) # add implicit 0 that forms the start of the chain joltages = sorted(joltages) joltage_jumps = part1(joltages) print("Part 1: product of 1-jolt jumps with 3-jolt jumps : {}" .format(joltage_jumps[1] * joltage_jumps[3])) print("Part 2: Total possible arrangements of adapters {}".format(part2(joltages, joltage_jumps)))
class Solution: def compress(self, chars): """ :type chars: List[str] :rtype: int """ last, n, y = chars[0], 1, 0 for x in range(1, len(chars)): c = chars[x] if c == last: n += 1 else: for ch in last + str(n > 1 and n or ''): chars[y] = ch y += 1 last, n = c, 1 for ch in last + str(n > 1 and n or ''): chars[y] = ch y += 1 while len(chars) > y: chars.pop() return y
def main(request, response): response.headers.set(b"Access-Control-Allow-Origin", request.headers.get(b"origin")) token = request.GET[b"token"] request.server.stash.put(token, b"") response.content = b"PASS"
#!/usr/bin/env python # *-* coding: UTF-8 *-* """Tuxy scrie รฎn fiecare zi foarte multe formule matematice. Pentru cฤƒ formulele sunt din ce รฎn ce mai complicate trebuie sฤƒ foloseascฤƒ o serie de paranteze ศ™i a descoperit cฤƒ cea mai frecventฤƒ problemฤƒ a lui este cฤƒ nu toate parantezele sunt folosite cum trebuie. Pentru acest lucru a apelat la ajutorul tฤƒu. Cรขteva exemple: - [] este bine - []() este bine - [()()] este bine - ][ nu este bine - (][][) nu este bine - [)]()[(] nu este bine """ def este_corect(expresie): """Verificฤƒ dacฤƒ toate parantezele sunt folosite corespunzฤƒtor, prin expresie. """ stiva = [] stiva.append(expresie[0]) for i in range(1, len(expresie)): stiva.append(expresie[i]) if stiva[len(stiva) - 2] == '(' and stiva[len(stiva) - 1] == ')': stiva.pop() stiva.pop() elif stiva[len(stiva) - 2] == '[' and stiva[len(stiva) - 1] == ']': stiva.pop() stiva.pop() return not stiva if __name__ == "__main__": assert este_corect("[()[]]"), "Probleme la expresia 1" assert este_corect("()()[][]"), "Probleme la expresia 2" assert este_corect("([([])])"), "Probleme la expresia 3" assert not este_corect("[)()()()"), "Probleme la expresia 4" assert not este_corect("][[()][]"), "Probleme la expresia 5" assert not este_corect("([()]))"), "Probleme la expresia 6" assert not este_corect("([)]"), "Probleme la expresia 7"
def iterate_dictionary(d, path, squash_single=False): """ Takes a dict, and a path delimited with slashes like A/B/C/D, and returns a list of objects found at all leaf nodes at all trajectories `dict[A][B][C][D]`. It does this using BFS not DFS. The word "leaf" hereby refers to an item at the search path level. That is, upon calling the function iterate_dictionary(d_to_search, "A/B/C/D") If `d_to_search` has five levels A/B/C/D/E, then D is the "leaf node level". Since `[E]` exists, then at least one object in the return list will be a dictionary. Rules =========================== Each node can be either 1) an arbitrary non-list, non-dictionary object 2) a dictionary 3) a list of arbitrary objects All nodes of type 3 at each level are searched for nodes of type 1 and 2. Nodes of type 2 are the ones iterated in this tree search. At the current time, nodes of type 1 are *not* inspected. They are returned in a list if they are at the search path and ignored otherwise. Returns =========================== 1) If the path is an empty string, returns the original dict 2) *If* at least one object exists at the search path, it returns a list of all items at the search path. Using the above example terminology, a list of all objects at all trajectories `"A/B/C/D"`. *Special Parameter*: If the optional Boolean parameter `squash_single` is True, and the return list contains only one object, the object is returned (*not* a list), else a list with that one object is returned. This optional flag is useful so that [0] does not have to be indexed on the return list in the case where only one item is expected. 3) None in the case that there are no objects at the search path. """ if path == "": return d path_parts = path.split("/") return_list = [] sub_dicts = [d] # BFS, start with root node for i, ival in enumerate(path_parts): new_sub_dicts = [] for s in sub_dicts: if ival in s: # this tree node is part of the search path the_list = s[ival] if isinstance(s[ival], list) else [s[ival]] for j in the_list: if i < len(path_parts) - 1: # not a leaf node; check level if isinstance(j, dict): # skip this non-leaf node if not a dict new_sub_dicts.append(j) # BFS expansion else: # leaf node at the desired path; add to final return list return_list.append(j) sub_dicts = new_sub_dicts # return return return_list[0] if squash_single and len(return_list) == 1 else return_list if len(return_list) >= 1 else None def get_all_values(d): """ This function returns a list of all values in a nested dictionary. By nested, this means each item X in d can either be a dict, a list, or a "value". Other iterables other than dicts and lists are treated as values and are not iterated currently. Returns a list, or None if there are no values found (for example a nested structure of all empty dicts) """ if not isinstance(d, dict): raise ValueError("input is not a dictionary") return _get_all_values(d) def _get_all_values(d): vals = [] if isinstance(d, dict): for _, v in d.items(): vals += _get_all_values(v) elif isinstance(d, list): for l in d: vals += _get_all_values(l) else: vals.append(d) return vals
class Address: def __init__(self, street_address, city, country): self.country = country self.city = city self.street_address = street_address def __str__(self): return f'{self.street_address}, {self.city}, {self.country}'
def extractBetwixtedtranslationsBlogspotCom(item): ''' Parser for 'betwixtedtranslations.blogspot.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('Transmigrated Senior Martial Brother', 'Transmigrated Senior Martial Brother', 'translated'), ('Part-Time Taoist Priest', 'Part-Time Taoist Priest', 'translated'), ('Criminal Psychology', 'Criminal Psychology', 'translated'), ('Death Progress Bar', 'Death Progress Bar', 'translated'), ('King of Classical Music', 'King of Classical Music', 'translated'), ('Everyday I Get up to See the Villain Stealing the Show', 'Everyday I Get up to See the Villain Stealing the Show', 'translated'), ('where is our agreement to be each other\'s arch rivals?', 'where is our agreement to be each other\'s arch rivals?', 'translated'), ('Gentle Beast', 'Gentle Beast', 'translated'), ('Epiphanies of Rebirth', 'Epiphanies of Rebirth', 'translated'), ] for tagname, name, tl_type in tagmap: if tagname in item['tags']: return buildReleaseMessageWithType(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type) return False
# # This file contains the Python code from Program 16.20 of # "Data Structures and Algorithms # with Object-Oriented Design Patterns in Python" # by Bruno R. Preiss. # # Copyright (c) 2003 by Bruno R. Preiss, P.Eng. All rights reserved. # # http://www.brpreiss.com/books/opus7/programs/pgm16_20.txt # class Algorithms(object): class EarliestTimeVisitor(Visitor): def __init__(self, earliestTime): super(Algorithms.EarliestTimeVisitor,self).__init__() self._earliestTime = earliestTime def visit(self, w): t = self._earliestTime[0] for e in w.incidentEdges: t = max(t, self._earliestTime[e.v0.number] + e.weight) self._earliestTime[w.number] = t
day_num = 15 file_load = open("input/day15.txt", "r") file_in = file_load.read() file_load.close() file_in = list(map(int, file_in.split(","))) def run(): def game(input_in, round_hunt): num_last = {} for temp_pos, temp_num in enumerate(input_in, 1): num_last[temp_num] = temp_pos game_round = len(input_in) game_next = 0 for game_round in range(len(input_in) + 1, round_hunt): if game_next not in num_last: num_last[game_next] = game_round game_next = 0 else: temp_next = game_round - num_last[game_next] num_last[game_next] = game_round game_next = temp_next return game_next return game(file_in, 2020), game(file_in, 30000000) if __name__ == "__main__": print(run())
def findDuplicatesSequence(sequence): stringySequence = str(sequence) while stringySequence[0] == stringySequence[-1]: stringySequence = stringySequence[-1] + stringySequence[0:-1] iterableSequenceDuplicates = (re.finditer(r"(\d)\1+", str(stringySequence))) duplicatesList = [iterable[0] for iterable in iterableSequenceDuplicates] filteredDuplicatesList = [] for duplicates in duplicatesList: duplicates = duplicates[:-1] filteredDuplicatesList.append(duplicates) counter = 0 for duplicates in filteredDuplicatesList: int(duplicates[0]) counter += int(duplicates[0]) * len(duplicates) print(counter) return counter
""" Given a list of words, find all pairs of unique indices such that the concatenation of the two words is a palindrome. For example, given the list ["code", "edoc", "da", "d"], return [(0, 1), (1, 0), (2, 3)]. """ test = ['code', 'edoc', 'da', 'd'] palindrome_index = [] for i in range(len(test)): for j in range(len(test)): if i !=j: concat = test[i] + test[j] if len(concat) % 2 == 0: part1 = concat[0:(len(concat)//2)] part2 = concat[(len(concat)//2):] if part1 == part2[::-1]: palindrome_index.append([i,j]) else: part1 = concat[0:(len(concat)//2)+1] part2 = concat[len(concat)//2:] if part1 == part2[::-1]: palindrome_index.append([i,j]) print(palindrome_index)
# # PySNMP MIB module NNCBELLCOREGR820DS1STATISTICS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NNCBELLCOREGR820DS1STATISTICS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:13:04 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") nncExtensions, = mibBuilder.importSymbols("NNCGNI0001-SMI", "nncExtensions") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") MibIdentifier, NotificationType, IpAddress, ObjectIdentity, TimeTicks, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Gauge32, iso, Counter64, Integer32, Bits, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "NotificationType", "IpAddress", "ObjectIdentity", "TimeTicks", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Gauge32", "iso", "Counter64", "Integer32", "Bits", "Counter32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") nncBellcoreGR820Ds1Statistics = ModuleIdentity((1, 3, 6, 1, 4, 1, 123, 3, 70)) if mibBuilder.loadTexts: nncBellcoreGR820Ds1Statistics.setLastUpdated('9902151200Z') if mibBuilder.loadTexts: nncBellcoreGR820Ds1Statistics.setOrganization('Newbridge Networks Corporation') nncBellcoreGR820Ds1StatisticsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 70, 1)) nncBellcoreGR820Ds1StatisticsGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 70, 2)) nncBellcoreGR820Ds1StatisticsCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 123, 3, 70, 3)) nncBellcoreGR820Ds1CurrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1), ) if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrStatsTable.setStatus('current') nncBellcoreGR820Ds1CurrStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrStatsEntry.setStatus('current') nncBellcoreGR820Ds1CurrLineCV = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrLineCV.setStatus('current') nncBellcoreGR820Ds1CurrLineES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrLineES.setStatus('current') nncBellcoreGR820Ds1CurrLineLOSS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrLineLOSS.setStatus('current') nncBellcoreGR820Ds1CurrPathCV = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathCV.setStatus('current') nncBellcoreGR820Ds1CurrPathES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathES.setStatus('current') nncBellcoreGR820Ds1CurrPathSES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathSES.setStatus('current') nncBellcoreGR820Ds1CurrPathAISS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathAISS.setStatus('current') nncBellcoreGR820Ds1CurrPathCSS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathCSS.setStatus('current') nncBellcoreGR820Ds1CurrPathUAS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathUAS.setStatus('current') nncBellcoreGR820Ds1CurrPathSAS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathSAS.setStatus('current') nncBellcoreGR820Ds1CurrPathFC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1CurrPathFC.setStatus('current') nncBellcoreGR820Ds1IntervalStatsTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2), ) if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalStatsTable.setStatus('current') nncBellcoreGR820Ds1IntervalStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalIndex")) if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalStatsEntry.setStatus('current') nncBellcoreGR820Ds1IntervalIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalIndex.setStatus('current') nncBellcoreGR820Ds1IntervalLineCV = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalLineCV.setStatus('current') nncBellcoreGR820Ds1IntervalLineES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalLineES.setStatus('current') nncBellcoreGR820Ds1IntervalLineLOSS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalLineLOSS.setStatus('current') nncBellcoreGR820Ds1IntervalPathCV = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathCV.setStatus('current') nncBellcoreGR820Ds1IntervalPathES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathES.setStatus('current') nncBellcoreGR820Ds1IntervalPathSES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathSES.setStatus('current') nncBellcoreGR820Ds1IntervalPathAISS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathAISS.setStatus('current') nncBellcoreGR820Ds1IntervalPathCSS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathCSS.setStatus('current') nncBellcoreGR820Ds1IntervalPathUAS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathUAS.setStatus('current') nncBellcoreGR820Ds1IntervalPathSAS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathSAS.setStatus('current') nncBellcoreGR820Ds1IntervalPathFC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1IntervalPathFC.setStatus('current') nncBellcoreGR820Ds1TotalStatsTable = MibTable((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3), ) if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalStatsTable.setStatus('current') nncBellcoreGR820Ds1TotalStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalStatsEntry.setStatus('current') nncBellcoreGR820Ds1TotalLineCV = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalLineCV.setStatus('current') nncBellcoreGR820Ds1TotalLineES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalLineES.setStatus('current') nncBellcoreGR820Ds1TotalLineLOSS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalLineLOSS.setStatus('current') nncBellcoreGR820Ds1TotalPathCV = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathCV.setStatus('current') nncBellcoreGR820Ds1TotalPathES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathES.setStatus('current') nncBellcoreGR820Ds1TotalPathSES = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathSES.setStatus('current') nncBellcoreGR820Ds1TotalPathAISS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathAISS.setStatus('current') nncBellcoreGR820Ds1TotalPathCSS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathCSS.setStatus('current') nncBellcoreGR820Ds1TotalPathUAS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathUAS.setStatus('current') nncBellcoreGR820Ds1TotalPathSAS = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathSAS.setStatus('current') nncBellcoreGR820Ds1TotalPathFC = MibTableColumn((1, 3, 6, 1, 4, 1, 123, 3, 70, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nncBellcoreGR820Ds1TotalPathFC.setStatus('current') nncBellcoreGR820Ds1CurrStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 70, 2, 1)).setObjects(("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrLineCV"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrLineES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrLineLOSS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathCV"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathSES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathAISS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathCSS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathUAS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathSAS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrPathFC")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncBellcoreGR820Ds1CurrStatsGroup = nncBellcoreGR820Ds1CurrStatsGroup.setStatus('current') nncBellcoreGR820Ds1IntervalStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 70, 2, 2)).setObjects(("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalIndex"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalLineCV"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalLineES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalLineLOSS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathCV"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathSES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathAISS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathCSS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathUAS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathSAS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalPathFC")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncBellcoreGR820Ds1IntervalStatsGroup = nncBellcoreGR820Ds1IntervalStatsGroup.setStatus('current') nncBellcoreGR820Ds1TotalStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 123, 3, 70, 2, 3)).setObjects(("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalLineCV"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalLineES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalLineLOSS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathCV"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathSES"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathAISS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathCSS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathUAS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathSAS"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalPathFC")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncBellcoreGR820Ds1TotalStatsGroup = nncBellcoreGR820Ds1TotalStatsGroup.setStatus('current') nncBellcoreGR820Ds1StatisticsCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 123, 3, 70, 3, 1)).setObjects(("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1CurrStatsGroup"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1IntervalStatsGroup"), ("NNCBELLCOREGR820DS1STATISTICS-MIB", "nncBellcoreGR820Ds1TotalStatsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): nncBellcoreGR820Ds1StatisticsCompliance = nncBellcoreGR820Ds1StatisticsCompliance.setStatus('current') mibBuilder.exportSymbols("NNCBELLCOREGR820DS1STATISTICS-MIB", nncBellcoreGR820Ds1TotalPathSAS=nncBellcoreGR820Ds1TotalPathSAS, nncBellcoreGR820Ds1TotalStatsEntry=nncBellcoreGR820Ds1TotalStatsEntry, nncBellcoreGR820Ds1TotalStatsGroup=nncBellcoreGR820Ds1TotalStatsGroup, nncBellcoreGR820Ds1CurrLineLOSS=nncBellcoreGR820Ds1CurrLineLOSS, nncBellcoreGR820Ds1CurrStatsGroup=nncBellcoreGR820Ds1CurrStatsGroup, nncBellcoreGR820Ds1IntervalPathCSS=nncBellcoreGR820Ds1IntervalPathCSS, nncBellcoreGR820Ds1IntervalPathFC=nncBellcoreGR820Ds1IntervalPathFC, nncBellcoreGR820Ds1TotalLineES=nncBellcoreGR820Ds1TotalLineES, nncBellcoreGR820Ds1TotalPathSES=nncBellcoreGR820Ds1TotalPathSES, nncBellcoreGR820Ds1CurrPathES=nncBellcoreGR820Ds1CurrPathES, nncBellcoreGR820Ds1TotalPathES=nncBellcoreGR820Ds1TotalPathES, nncBellcoreGR820Ds1CurrLineES=nncBellcoreGR820Ds1CurrLineES, nncBellcoreGR820Ds1CurrStatsTable=nncBellcoreGR820Ds1CurrStatsTable, nncBellcoreGR820Ds1CurrStatsEntry=nncBellcoreGR820Ds1CurrStatsEntry, nncBellcoreGR820Ds1TotalPathAISS=nncBellcoreGR820Ds1TotalPathAISS, nncBellcoreGR820Ds1CurrPathSAS=nncBellcoreGR820Ds1CurrPathSAS, nncBellcoreGR820Ds1IntervalPathUAS=nncBellcoreGR820Ds1IntervalPathUAS, nncBellcoreGR820Ds1IntervalStatsGroup=nncBellcoreGR820Ds1IntervalStatsGroup, nncBellcoreGR820Ds1CurrPathSES=nncBellcoreGR820Ds1CurrPathSES, nncBellcoreGR820Ds1IntervalPathSAS=nncBellcoreGR820Ds1IntervalPathSAS, nncBellcoreGR820Ds1Statistics=nncBellcoreGR820Ds1Statistics, nncBellcoreGR820Ds1StatisticsObjects=nncBellcoreGR820Ds1StatisticsObjects, nncBellcoreGR820Ds1CurrPathCV=nncBellcoreGR820Ds1CurrPathCV, nncBellcoreGR820Ds1TotalLineLOSS=nncBellcoreGR820Ds1TotalLineLOSS, nncBellcoreGR820Ds1IntervalStatsEntry=nncBellcoreGR820Ds1IntervalStatsEntry, nncBellcoreGR820Ds1TotalLineCV=nncBellcoreGR820Ds1TotalLineCV, nncBellcoreGR820Ds1TotalStatsTable=nncBellcoreGR820Ds1TotalStatsTable, nncBellcoreGR820Ds1IntervalIndex=nncBellcoreGR820Ds1IntervalIndex, PYSNMP_MODULE_ID=nncBellcoreGR820Ds1Statistics, nncBellcoreGR820Ds1CurrLineCV=nncBellcoreGR820Ds1CurrLineCV, nncBellcoreGR820Ds1CurrPathAISS=nncBellcoreGR820Ds1CurrPathAISS, nncBellcoreGR820Ds1TotalPathUAS=nncBellcoreGR820Ds1TotalPathUAS, nncBellcoreGR820Ds1TotalPathCSS=nncBellcoreGR820Ds1TotalPathCSS, nncBellcoreGR820Ds1CurrPathFC=nncBellcoreGR820Ds1CurrPathFC, nncBellcoreGR820Ds1IntervalPathSES=nncBellcoreGR820Ds1IntervalPathSES, nncBellcoreGR820Ds1StatisticsGroups=nncBellcoreGR820Ds1StatisticsGroups, nncBellcoreGR820Ds1IntervalStatsTable=nncBellcoreGR820Ds1IntervalStatsTable, nncBellcoreGR820Ds1TotalPathFC=nncBellcoreGR820Ds1TotalPathFC, nncBellcoreGR820Ds1TotalPathCV=nncBellcoreGR820Ds1TotalPathCV, nncBellcoreGR820Ds1IntervalLineES=nncBellcoreGR820Ds1IntervalLineES, nncBellcoreGR820Ds1IntervalPathCV=nncBellcoreGR820Ds1IntervalPathCV, nncBellcoreGR820Ds1StatisticsCompliances=nncBellcoreGR820Ds1StatisticsCompliances, nncBellcoreGR820Ds1IntervalPathES=nncBellcoreGR820Ds1IntervalPathES, nncBellcoreGR820Ds1IntervalLineCV=nncBellcoreGR820Ds1IntervalLineCV, nncBellcoreGR820Ds1CurrPathCSS=nncBellcoreGR820Ds1CurrPathCSS, nncBellcoreGR820Ds1IntervalLineLOSS=nncBellcoreGR820Ds1IntervalLineLOSS, nncBellcoreGR820Ds1CurrPathUAS=nncBellcoreGR820Ds1CurrPathUAS, nncBellcoreGR820Ds1IntervalPathAISS=nncBellcoreGR820Ds1IntervalPathAISS, nncBellcoreGR820Ds1StatisticsCompliance=nncBellcoreGR820Ds1StatisticsCompliance)
cities = [ { "city": "New York", "growth_from_2000_to_2013": "4.8%", "latitude": 40.7127837, "longitude": -74.0059413, "population": "8405837", "rank": "1", "state": "New York", }, { "city": "Los Angeles", "growth_from_2000_to_2013": "4.8%", "latitude": 34.0522342, "longitude": -118.2436849, "population": "3884307", "rank": "2", "state": "California", }, { "city": "Chicago", "growth_from_2000_to_2013": "-6.1%", "latitude": 41.8781136, "longitude": -87.6297982, "population": "2718782", "rank": "3", "state": "Illinois", }, { "city": "Houston", "growth_from_2000_to_2013": "11.0%", "latitude": 29.7604267, "longitude": -95.3698028, "population": "2195914", "rank": "4", "state": "Texas", }, { "city": "Philadelphia", "growth_from_2000_to_2013": "2.6%", "latitude": 39.9525839, "longitude": -75.1652215, "population": "1553165", "rank": "5", "state": "Pennsylvania", }, { "city": "Phoenix", "growth_from_2000_to_2013": "14.0%", "latitude": 33.4483771, "longitude": -112.0740373, "population": "1513367", "rank": "6", "state": "Arizona", }, { "city": "San Antonio", "growth_from_2000_to_2013": "21.0%", "latitude": 29.4241219, "longitude": -98.49362819999999, "population": "1409019", "rank": "7", "state": "Texas", }, { "city": "San Diego", "growth_from_2000_to_2013": "10.5%", "latitude": 32.715738, "longitude": -117.1610838, "population": "1355896", "rank": "8", "state": "California", }, { "city": "Dallas", "growth_from_2000_to_2013": "5.6%", "latitude": 32.7766642, "longitude": -96.79698789999999, "population": "1257676", "rank": "9", "state": "Texas", }, { "city": "San Jose", "growth_from_2000_to_2013": "10.5%", "latitude": 37.3382082, "longitude": -121.8863286, "population": "998537", "rank": "10", "state": "California", }, { "city": "Austin", "growth_from_2000_to_2013": "31.7%", "latitude": 30.267153, "longitude": -97.7430608, "population": "885400", "rank": "11", "state": "Texas", }, { "city": "Indianapolis", "growth_from_2000_to_2013": "7.8%", "latitude": 39.768403, "longitude": -86.158068, "population": "843393", "rank": "12", "state": "Indiana", }, { "city": "Jacksonville", "growth_from_2000_to_2013": "14.3%", "latitude": 30.3321838, "longitude": -81.65565099999999, "population": "842583", "rank": "13", "state": "Florida", }, { "city": "San Francisco", "growth_from_2000_to_2013": "7.7%", "latitude": 37.7749295, "longitude": -122.4194155, "population": "837442", "rank": "14", "state": "California", }, { "city": "Columbus", "growth_from_2000_to_2013": "14.8%", "latitude": 39.9611755, "longitude": -82.99879419999999, "population": "822553", "rank": "15", "state": "Ohio", }, { "city": "Charlotte", "growth_from_2000_to_2013": "39.1%", "latitude": 35.2270869, "longitude": -80.8431267, "population": "792862", "rank": "16", "state": "North Carolina", }, { "city": "Fort Worth", "growth_from_2000_to_2013": "45.1%", "latitude": 32.7554883, "longitude": -97.3307658, "population": "792727", "rank": "17", "state": "Texas", }, { "city": "Detroit", "growth_from_2000_to_2013": "-27.1%", "latitude": 42.331427, "longitude": -83.0457538, "population": "688701", "rank": "18", "state": "Michigan", }, { "city": "El Paso", "growth_from_2000_to_2013": "19.4%", "latitude": 31.7775757, "longitude": -106.4424559, "population": "674433", "rank": "19", "state": "Texas", }, { "city": "Memphis", "growth_from_2000_to_2013": "-5.3%", "latitude": 35.1495343, "longitude": -90.0489801, "population": "653450", "rank": "20", "state": "Tennessee", }, { "city": "Seattle", "growth_from_2000_to_2013": "15.6%", "latitude": 47.6062095, "longitude": -122.3320708, "population": "652405", "rank": "21", "state": "Washington", }, { "city": "Denver", "growth_from_2000_to_2013": "16.7%", "latitude": 39.7392358, "longitude": -104.990251, "population": "649495", "rank": "22", "state": "Colorado", }, { "city": "Washington", "growth_from_2000_to_2013": "13.0%", "latitude": 38.9071923, "longitude": -77.0368707, "population": "646449", "rank": "23", "state": "District of Columbia", }, { "city": "Boston", "growth_from_2000_to_2013": "9.4%", "latitude": 42.3600825, "longitude": -71.0588801, "population": "645966", "rank": "24", "state": "Massachusetts", }, { "city": "Nashville-Davidson", "growth_from_2000_to_2013": "16.2%", "latitude": 36.1626638, "longitude": -86.7816016, "population": "634464", "rank": "25", "state": "Tennessee", }, { "city": "Baltimore", "growth_from_2000_to_2013": "-4.0%", "latitude": 39.2903848, "longitude": -76.6121893, "population": "622104", "rank": "26", "state": "Maryland", }, { "city": "Oklahoma City", "growth_from_2000_to_2013": "20.2%", "latitude": 35.4675602, "longitude": -97.5164276, "population": "610613", "rank": "27", "state": "Oklahoma", }, { "city": "Louisville/Jefferson County", "growth_from_2000_to_2013": "10.0%", "latitude": 38.2526647, "longitude": -85.7584557, "population": "609893", "rank": "28", "state": "Kentucky", }, { "city": "Portland", "growth_from_2000_to_2013": "15.0%", "latitude": 45.5230622, "longitude": -122.6764816, "population": "609456", "rank": "29", "state": "Oregon", }, { "city": "Las Vegas", "growth_from_2000_to_2013": "24.5%", "latitude": 36.1699412, "longitude": -115.1398296, "population": "603488", "rank": "30", "state": "Nevada", }, { "city": "Milwaukee", "growth_from_2000_to_2013": "0.3%", "latitude": 43.0389025, "longitude": -87.9064736, "population": "599164", "rank": "31", "state": "Wisconsin", }, { "city": "Albuquerque", "growth_from_2000_to_2013": "23.5%", "latitude": 35.0853336, "longitude": -106.6055534, "population": "556495", "rank": "32", "state": "New Mexico", }, { "city": "Tucson", "growth_from_2000_to_2013": "7.5%", "latitude": 32.2217429, "longitude": -110.926479, "population": "526116", "rank": "33", "state": "Arizona", }, { "city": "Fresno", "growth_from_2000_to_2013": "18.3%", "latitude": 36.7468422, "longitude": -119.7725868, "population": "509924", "rank": "34", "state": "California", }, { "city": "Sacramento", "growth_from_2000_to_2013": "17.2%", "latitude": 38.5815719, "longitude": -121.4943996, "population": "479686", "rank": "35", "state": "California", }, { "city": "Long Beach", "growth_from_2000_to_2013": "1.5%", "latitude": 33.7700504, "longitude": -118.1937395, "population": "469428", "rank": "36", "state": "California", }, { "city": "Kansas City", "growth_from_2000_to_2013": "5.5%", "latitude": 39.0997265, "longitude": -94.5785667, "population": "467007", "rank": "37", "state": "Missouri", }, { "city": "Mesa", "growth_from_2000_to_2013": "13.5%", "latitude": 33.4151843, "longitude": -111.8314724, "population": "457587", "rank": "38", "state": "Arizona", }, { "city": "Virginia Beach", "growth_from_2000_to_2013": "5.1%", "latitude": 36.8529263, "longitude": -75.97798499999999, "population": "448479", "rank": "39", "state": "Virginia", }, { "city": "Atlanta", "growth_from_2000_to_2013": "6.2%", "latitude": 33.7489954, "longitude": -84.3879824, "population": "447841", "rank": "40", "state": "Georgia", }, { "city": "Colorado Springs", "growth_from_2000_to_2013": "21.4%", "latitude": 38.8338816, "longitude": -104.8213634, "population": "439886", "rank": "41", "state": "Colorado", }, { "city": "Omaha", "growth_from_2000_to_2013": "5.9%", "latitude": 41.2523634, "longitude": -95.99798829999999, "population": "434353", "rank": "42", "state": "Nebraska", }, { "city": "Raleigh", "growth_from_2000_to_2013": "48.7%", "latitude": 35.7795897, "longitude": -78.6381787, "population": "431746", "rank": "43", "state": "North Carolina", }, { "city": "Miami", "growth_from_2000_to_2013": "14.9%", "latitude": 25.7616798, "longitude": -80.1917902, "population": "417650", "rank": "44", "state": "Florida", }, { "city": "Oakland", "growth_from_2000_to_2013": "1.3%", "latitude": 37.8043637, "longitude": -122.2711137, "population": "406253", "rank": "45", "state": "California", }, { "city": "Minneapolis", "growth_from_2000_to_2013": "4.5%", "latitude": 44.977753, "longitude": -93.2650108, "population": "400070", "rank": "46", "state": "Minnesota", }, { "city": "Tulsa", "growth_from_2000_to_2013": "1.3%", "latitude": 36.1539816, "longitude": -95.99277500000001, "population": "398121", "rank": "47", "state": "Oklahoma", }, { "city": "Cleveland", "growth_from_2000_to_2013": "-18.1%", "latitude": 41.49932, "longitude": -81.6943605, "population": "390113", "rank": "48", "state": "Ohio", }, { "city": "Wichita", "growth_from_2000_to_2013": "9.7%", "latitude": 37.688889, "longitude": -97.336111, "population": "386552", "rank": "49", "state": "Kansas", }, { "city": "Arlington", "growth_from_2000_to_2013": "13.3%", "latitude": 32.735687, "longitude": -97.10806559999999, "population": "379577", "rank": "50", "state": "Texas", }, { "city": "New Orleans", "growth_from_2000_to_2013": "-21.6%", "latitude": 29.95106579999999, "longitude": -90.0715323, "population": "378715", "rank": "51", "state": "Louisiana", }, { "city": "Bakersfield", "growth_from_2000_to_2013": "48.4%", "latitude": 35.3732921, "longitude": -119.0187125, "population": "363630", "rank": "52", "state": "California", }, { "city": "Tampa", "growth_from_2000_to_2013": "16.0%", "latitude": 27.950575, "longitude": -82.4571776, "population": "352957", "rank": "53", "state": "Florida", }, { "city": "Honolulu", "growth_from_2000_to_2013": "-6.2%", "latitude": 21.3069444, "longitude": -157.8583333, "population": "347884", "rank": "54", "state": "Hawaii", }, { "city": "Aurora", "growth_from_2000_to_2013": "24.4%", "latitude": 39.7294319, "longitude": -104.8319195, "population": "345803", "rank": "55", "state": "Colorado", }, { "city": "Anaheim", "growth_from_2000_to_2013": "4.7%", "latitude": 33.8352932, "longitude": -117.9145036, "population": "345012", "rank": "56", "state": "California", }, { "city": "Santa Ana", "growth_from_2000_to_2013": "-1.2%", "latitude": 33.7455731, "longitude": -117.8678338, "population": "334227", "rank": "57", "state": "California", }, { "city": "St. Louis", "growth_from_2000_to_2013": "-8.2%", "latitude": 38.6270025, "longitude": -90.19940419999999, "population": "318416", "rank": "58", "state": "Missouri", }, { "city": "Riverside", "growth_from_2000_to_2013": "22.5%", "latitude": 33.9533487, "longitude": -117.3961564, "population": "316619", "rank": "59", "state": "California", }, { "city": "Corpus Christi", "growth_from_2000_to_2013": "14.1%", "latitude": 27.8005828, "longitude": -97.39638099999999, "population": "316381", "rank": "60", "state": "Texas", }, { "city": "Lexington-Fayette", "growth_from_2000_to_2013": "18.0%", "latitude": 38.0405837, "longitude": -84.5037164, "population": "308428", "rank": "61", "state": "Kentucky", }, { "city": "Pittsburgh", "growth_from_2000_to_2013": "-8.3%", "latitude": 40.44062479999999, "longitude": -79.9958864, "population": "305841", "rank": "62", "state": "Pennsylvania", }, { "city": "Anchorage", "growth_from_2000_to_2013": "15.4%", "latitude": 61.2180556, "longitude": -149.9002778, "population": "300950", "rank": "63", "state": "Alaska", }, { "city": "Stockton", "growth_from_2000_to_2013": "21.8%", "latitude": 37.9577016, "longitude": -121.2907796, "population": "298118", "rank": "64", "state": "California", }, { "city": "Cincinnati", "growth_from_2000_to_2013": "-10.1%", "latitude": 39.1031182, "longitude": -84.5120196, "population": "297517", "rank": "65", "state": "Ohio", }, { "city": "St. Paul", "growth_from_2000_to_2013": "2.8%", "latitude": 44.9537029, "longitude": -93.0899578, "population": "294873", "rank": "66", "state": "Minnesota", }, { "city": "Toledo", "growth_from_2000_to_2013": "-10.0%", "latitude": 41.6639383, "longitude": -83.55521200000001, "population": "282313", "rank": "67", "state": "Ohio", }, { "city": "Greensboro", "growth_from_2000_to_2013": "22.3%", "latitude": 36.0726354, "longitude": -79.7919754, "population": "279639", "rank": "68", "state": "North Carolina", }, { "city": "Newark", "growth_from_2000_to_2013": "2.1%", "latitude": 40.735657, "longitude": -74.1723667, "population": "278427", "rank": "69", "state": "New Jersey", }, { "city": "Plano", "growth_from_2000_to_2013": "22.4%", "latitude": 33.0198431, "longitude": -96.6988856, "population": "274409", "rank": "70", "state": "Texas", }, { "city": "Henderson", "growth_from_2000_to_2013": "51.0%", "latitude": 36.0395247, "longitude": -114.9817213, "population": "270811", "rank": "71", "state": "Nevada", }, { "city": "Lincoln", "growth_from_2000_to_2013": "18.0%", "latitude": 40.8257625, "longitude": -96.6851982, "population": "268738", "rank": "72", "state": "Nebraska", }, { "city": "Buffalo", "growth_from_2000_to_2013": "-11.3%", "latitude": 42.88644679999999, "longitude": -78.8783689, "population": "258959", "rank": "73", "state": "New York", }, { "city": "Jersey City", "growth_from_2000_to_2013": "7.2%", "latitude": 40.72815749999999, "longitude": -74.0776417, "population": "257342", "rank": "74", "state": "New Jersey", }, { "city": "Chula Vista", "growth_from_2000_to_2013": "46.2%", "latitude": 32.6400541, "longitude": -117.0841955, "population": "256780", "rank": "75", "state": "California", }, { "city": "Fort Wayne", "growth_from_2000_to_2013": "1.0%", "latitude": 41.079273, "longitude": -85.1393513, "population": "256496", "rank": "76", "state": "Indiana", }, { "city": "Orlando", "growth_from_2000_to_2013": "31.2%", "latitude": 28.5383355, "longitude": -81.3792365, "population": "255483", "rank": "77", "state": "Florida", }, { "city": "St. Petersburg", "growth_from_2000_to_2013": "0.3%", "latitude": 27.773056, "longitude": -82.64, "population": "249688", "rank": "78", "state": "Florida", }, { "city": "Chandler", "growth_from_2000_to_2013": "38.7%", "latitude": 33.3061605, "longitude": -111.8412502, "population": "249146", "rank": "79", "state": "Arizona", }, { "city": "Laredo", "growth_from_2000_to_2013": "38.2%", "latitude": 27.5305671, "longitude": -99.48032409999999, "population": "248142", "rank": "80", "state": "Texas", }, { "city": "Norfolk", "growth_from_2000_to_2013": "5.0%", "latitude": 36.8507689, "longitude": -76.28587259999999, "population": "246139", "rank": "81", "state": "Virginia", }, { "city": "Durham", "growth_from_2000_to_2013": "29.9%", "latitude": 35.9940329, "longitude": -78.898619, "population": "245475", "rank": "82", "state": "North Carolina", }, { "city": "Madison", "growth_from_2000_to_2013": "15.8%", "latitude": 43.0730517, "longitude": -89.4012302, "population": "243344", "rank": "83", "state": "Wisconsin", }, { "city": "Lubbock", "growth_from_2000_to_2013": "19.6%", "latitude": 33.5778631, "longitude": -101.8551665, "population": "239538", "rank": "84", "state": "Texas", }, { "city": "Irvine", "growth_from_2000_to_2013": "61.3%", "latitude": 33.6839473, "longitude": -117.7946942, "population": "236716", "rank": "85", "state": "California", }, { "city": "Winston-Salem", "growth_from_2000_to_2013": "16.9%", "latitude": 36.09985959999999, "longitude": -80.244216, "population": "236441", "rank": "86", "state": "North Carolina", }, { "city": "Glendale", "growth_from_2000_to_2013": "5.7%", "latitude": 33.5386523, "longitude": -112.1859866, "population": "234632", "rank": "87", "state": "Arizona", }, { "city": "Garland", "growth_from_2000_to_2013": "8.5%", "latitude": 32.912624, "longitude": -96.63888329999999, "population": "234566", "rank": "88", "state": "Texas", }, { "city": "Hialeah", "growth_from_2000_to_2013": "3.2%", "latitude": 25.8575963, "longitude": -80.2781057, "population": "233394", "rank": "89", "state": "Florida", }, { "city": "Reno", "growth_from_2000_to_2013": "26.8%", "latitude": 39.5296329, "longitude": -119.8138027, "population": "233294", "rank": "90", "state": "Nevada", }, { "city": "Chesapeake", "growth_from_2000_to_2013": "15.1%", "latitude": 36.7682088, "longitude": -76.2874927, "population": "230571", "rank": "91", "state": "Virginia", }, { "city": "Gilbert", "growth_from_2000_to_2013": "96.0%", "latitude": 33.3528264, "longitude": -111.789027, "population": "229972", "rank": "92", "state": "Arizona", }, { "city": "Baton Rouge", "growth_from_2000_to_2013": "0.4%", "latitude": 30.4582829, "longitude": -91.1403196, "population": "229426", "rank": "93", "state": "Louisiana", }, { "city": "Irving", "growth_from_2000_to_2013": "19.1%", "latitude": 32.8140177, "longitude": -96.9488945, "population": "228653", "rank": "94", "state": "Texas", }, { "city": "Scottsdale", "growth_from_2000_to_2013": "11.0%", "latitude": 33.4941704, "longitude": -111.9260519, "population": "226918", "rank": "95", "state": "Arizona", }, { "city": "North Las Vegas", "growth_from_2000_to_2013": "92.2%", "latitude": 36.1988592, "longitude": -115.1175013, "population": "226877", "rank": "96", "state": "Nevada", }, { "city": "Fremont", "growth_from_2000_to_2013": "10.0%", "latitude": 37.5482697, "longitude": -121.9885719, "population": "224922", "rank": "97", "state": "California", }, { "city": "Boise City", "growth_from_2000_to_2013": "9.5%", "latitude": 43.6187102, "longitude": -116.2146068, "population": "214237", "rank": "98", "state": "Idaho", }, { "city": "Richmond", "growth_from_2000_to_2013": "8.2%", "latitude": 37.5407246, "longitude": -77.4360481, "population": "214114", "rank": "99", "state": "Virginia", }, { "city": "San Bernardino", "growth_from_2000_to_2013": "13.0%", "latitude": 34.1083449, "longitude": -117.2897652, "population": "213708", "rank": "100", "state": "California", }, { "city": "Birmingham", "growth_from_2000_to_2013": "-12.3%", "latitude": 33.5206608, "longitude": -86.80248999999999, "population": "212113", "rank": "101", "state": "Alabama", }, { "city": "Spokane", "growth_from_2000_to_2013": "7.0%", "latitude": 47.6587802, "longitude": -117.4260466, "population": "210721", "rank": "102", "state": "Washington", }, { "city": "Rochester", "growth_from_2000_to_2013": "-4.1%", "latitude": 43.16103, "longitude": -77.6109219, "population": "210358", "rank": "103", "state": "New York", }, { "city": "Des Moines", "growth_from_2000_to_2013": "3.9%", "latitude": 41.6005448, "longitude": -93.6091064, "population": "207510", "rank": "104", "state": "Iowa", }, { "city": "Modesto", "growth_from_2000_to_2013": "7.7%", "latitude": 37.63909719999999, "longitude": -120.9968782, "population": "204933", "rank": "105", "state": "California", }, { "city": "Fayetteville", "growth_from_2000_to_2013": "2.4%", "latitude": 35.0526641, "longitude": -78.87835849999999, "population": "204408", "rank": "106", "state": "North Carolina", }, { "city": "Tacoma", "growth_from_2000_to_2013": "4.9%", "latitude": 47.2528768, "longitude": -122.4442906, "population": "203446", "rank": "107", "state": "Washington", }, { "city": "Oxnard", "growth_from_2000_to_2013": "18.2%", "latitude": 34.1975048, "longitude": -119.1770516, "population": "203007", "rank": "108", "state": "California", }, { "city": "Fontana", "growth_from_2000_to_2013": "38.3%", "latitude": 34.0922335, "longitude": -117.435048, "population": "203003", "rank": "109", "state": "California", }, { "city": "Columbus", "growth_from_2000_to_2013": "8.7%", "latitude": 32.4609764, "longitude": -84.9877094, "population": "202824", "rank": "110", "state": "Georgia", }, { "city": "Montgomery", "growth_from_2000_to_2013": "-0.1%", "latitude": 32.3668052, "longitude": -86.2999689, "population": "201332", "rank": "111", "state": "Alabama", }, { "city": "Moreno Valley", "growth_from_2000_to_2013": "40.4%", "latitude": 33.9424658, "longitude": -117.2296717, "population": "201175", "rank": "112", "state": "California", }, { "city": "Shreveport", "growth_from_2000_to_2013": "-0.1%", "latitude": 32.5251516, "longitude": -93.7501789, "population": "200327", "rank": "113", "state": "Louisiana", }, { "city": "Aurora", "growth_from_2000_to_2013": "38.4%", "latitude": 41.7605849, "longitude": -88.32007150000001, "population": "199963", "rank": "114", "state": "Illinois", }, { "city": "Yonkers", "growth_from_2000_to_2013": "1.8%", "latitude": 40.9312099, "longitude": -73.89874689999999, "population": "199766", "rank": "115", "state": "New York", }, { "city": "Akron", "growth_from_2000_to_2013": "-8.6%", "latitude": 41.0814447, "longitude": -81.51900529999999, "population": "198100", "rank": "116", "state": "Ohio", }, { "city": "Huntington Beach", "growth_from_2000_to_2013": "3.9%", "latitude": 33.660297, "longitude": -117.9992265, "population": "197575", "rank": "117", "state": "California", }, { "city": "Little Rock", "growth_from_2000_to_2013": "7.6%", "latitude": 34.7464809, "longitude": -92.28959479999999, "population": "197357", "rank": "118", "state": "Arkansas", }, { "city": "Augusta-Richmond County", "growth_from_2000_to_2013": "1.1%", "latitude": 33.4734978, "longitude": -82.0105148, "population": "197350", "rank": "119", "state": "Georgia", }, { "city": "Amarillo", "growth_from_2000_to_2013": "12.8%", "latitude": 35.2219971, "longitude": -101.8312969, "population": "196429", "rank": "120", "state": "Texas", }, { "city": "Glendale", "growth_from_2000_to_2013": "0.3%", "latitude": 34.1425078, "longitude": -118.255075, "population": "196021", "rank": "121", "state": "California", }, { "city": "Mobile", "growth_from_2000_to_2013": "-1.9%", "latitude": 30.6953657, "longitude": -88.0398912, "population": "194899", "rank": "122", "state": "Alabama", }, { "city": "Grand Rapids", "growth_from_2000_to_2013": "-2.8%", "latitude": 42.9633599, "longitude": -85.6680863, "population": "192294", "rank": "123", "state": "Michigan", }, { "city": "Salt Lake City", "growth_from_2000_to_2013": "5.1%", "latitude": 40.7607793, "longitude": -111.8910474, "population": "191180", "rank": "124", "state": "Utah", }, { "city": "Tallahassee", "growth_from_2000_to_2013": "21.8%", "latitude": 30.4382559, "longitude": -84.28073289999999, "population": "186411", "rank": "125", "state": "Florida", }, { "city": "Huntsville", "growth_from_2000_to_2013": "16.3%", "latitude": 34.7303688, "longitude": -86.5861037, "population": "186254", "rank": "126", "state": "Alabama", }, { "city": "Grand Prairie", "growth_from_2000_to_2013": "43.1%", "latitude": 32.7459645, "longitude": -96.99778459999999, "population": "183372", "rank": "127", "state": "Texas", }, { "city": "Knoxville", "growth_from_2000_to_2013": "3.9%", "latitude": 35.9606384, "longitude": -83.9207392, "population": "183270", "rank": "128", "state": "Tennessee", }, { "city": "Worcester", "growth_from_2000_to_2013": "5.8%", "latitude": 42.2625932, "longitude": -71.8022934, "population": "182544", "rank": "129", "state": "Massachusetts", }, { "city": "Newport News", "growth_from_2000_to_2013": "0.9%", "latitude": 37.0870821, "longitude": -76.4730122, "population": "182020", "rank": "130", "state": "Virginia", }, { "city": "Brownsville", "growth_from_2000_to_2013": "26.8%", "latitude": 25.9017472, "longitude": -97.4974838, "population": "181860", "rank": "131", "state": "Texas", }, { "city": "Overland Park", "growth_from_2000_to_2013": "19.4%", "latitude": 38.9822282, "longitude": -94.6707917, "population": "181260", "rank": "132", "state": "Kansas", }, { "city": "Santa Clarita", "growth_from_2000_to_2013": "15.3%", "latitude": 34.3916641, "longitude": -118.542586, "population": "179590", "rank": "133", "state": "California", }, { "city": "Providence", "growth_from_2000_to_2013": "2.3%", "latitude": 41.8239891, "longitude": -71.4128343, "population": "177994", "rank": "134", "state": "Rhode Island", }, { "city": "Garden Grove", "growth_from_2000_to_2013": "5.8%", "latitude": 33.7739053, "longitude": -117.9414477, "population": "175140", "rank": "135", "state": "California", }, { "city": "Chattanooga", "growth_from_2000_to_2013": "10.5%", "latitude": 35.0456297, "longitude": -85.3096801, "population": "173366", "rank": "136", "state": "Tennessee", }, { "city": "Oceanside", "growth_from_2000_to_2013": "6.6%", "latitude": 33.1958696, "longitude": -117.3794834, "population": "172794", "rank": "137", "state": "California", }, { "city": "Jackson", "growth_from_2000_to_2013": "-6.8%", "latitude": 32.2987573, "longitude": -90.1848103, "population": "172638", "rank": "138", "state": "Mississippi", }, { "city": "Fort Lauderdale", "growth_from_2000_to_2013": "0.7%", "latitude": 26.1224386, "longitude": -80.13731740000001, "population": "172389", "rank": "139", "state": "Florida", }, { "city": "Santa Rosa", "growth_from_2000_to_2013": "15.2%", "latitude": 38.440429, "longitude": -122.7140548, "population": "171990", "rank": "140", "state": "California", }, { "city": "Rancho Cucamonga", "growth_from_2000_to_2013": "32.7%", "latitude": 34.10639889999999, "longitude": -117.5931084, "population": "171386", "rank": "141", "state": "California", }, { "city": "Port St. Lucie", "growth_from_2000_to_2013": "91.7%", "latitude": 27.2730492, "longitude": -80.3582261, "population": "171016", "rank": "142", "state": "Florida", }, { "city": "Tempe", "growth_from_2000_to_2013": "5.8%", "latitude": 33.4255104, "longitude": -111.9400054, "population": "168228", "rank": "143", "state": "Arizona", }, { "city": "Ontario", "growth_from_2000_to_2013": "5.5%", "latitude": 34.0633443, "longitude": -117.6508876, "population": "167500", "rank": "144", "state": "California", }, { "city": "Vancouver", "growth_from_2000_to_2013": "14.2%", "latitude": 45.6387281, "longitude": -122.6614861, "population": "167405", "rank": "145", "state": "Washington", }, { "city": "Cape Coral", "growth_from_2000_to_2013": "60.4%", "latitude": 26.5628537, "longitude": -81.9495331, "population": "165831", "rank": "146", "state": "Florida", }, { "city": "Sioux Falls", "growth_from_2000_to_2013": "31.1%", "latitude": 43.5445959, "longitude": -96.73110340000001, "population": "164676", "rank": "147", "state": "South Dakota", }, { "city": "Springfield", "growth_from_2000_to_2013": "7.8%", "latitude": 37.2089572, "longitude": -93.29229889999999, "population": "164122", "rank": "148", "state": "Missouri", }, { "city": "Peoria", "growth_from_2000_to_2013": "46.5%", "latitude": 33.5805955, "longitude": -112.2373779, "population": "162592", "rank": "149", "state": "Arizona", }, { "city": "Pembroke Pines", "growth_from_2000_to_2013": "17.4%", "latitude": 26.007765, "longitude": -80.2962555, "population": "162329", "rank": "150", "state": "Florida", }, { "city": "Elk Grove", "growth_from_2000_to_2013": "97.1%", "latitude": 38.4087993, "longitude": -121.3716178, "population": "161007", "rank": "151", "state": "California", }, { "city": "Salem", "growth_from_2000_to_2013": "16.4%", "latitude": 44.9428975, "longitude": -123.0350963, "population": "160614", "rank": "152", "state": "Oregon", }, { "city": "Lancaster", "growth_from_2000_to_2013": "33.8%", "latitude": 34.6867846, "longitude": -118.1541632, "population": "159523", "rank": "153", "state": "California", }, { "city": "Corona", "growth_from_2000_to_2013": "23.6%", "latitude": 33.8752935, "longitude": -117.5664384, "population": "159503", "rank": "154", "state": "California", }, { "city": "Eugene", "growth_from_2000_to_2013": "14.4%", "latitude": 44.0520691, "longitude": -123.0867536, "population": "159190", "rank": "155", "state": "Oregon", }, { "city": "Palmdale", "growth_from_2000_to_2013": "33.7%", "latitude": 34.5794343, "longitude": -118.1164613, "population": "157161", "rank": "156", "state": "California", }, { "city": "Salinas", "growth_from_2000_to_2013": "8.4%", "latitude": 36.6777372, "longitude": -121.6555013, "population": "155662", "rank": "157", "state": "California", }, { "city": "Springfield", "growth_from_2000_to_2013": "1.1%", "latitude": 42.1014831, "longitude": -72.589811, "population": "153703", "rank": "158", "state": "Massachusetts", }, { "city": "Pasadena", "growth_from_2000_to_2013": "7.5%", "latitude": 29.6910625, "longitude": -95.2091006, "population": "152735", "rank": "159", "state": "Texas", }, { "city": "Fort Collins", "growth_from_2000_to_2013": "26.6%", "latitude": 40.5852602, "longitude": -105.084423, "population": "152061", "rank": "160", "state": "Colorado", }, { "city": "Hayward", "growth_from_2000_to_2013": "7.5%", "latitude": 37.6688205, "longitude": -122.0807964, "population": "151574", "rank": "161", "state": "California", }, { "city": "Pomona", "growth_from_2000_to_2013": "2.1%", "latitude": 34.055103, "longitude": -117.7499909, "population": "151348", "rank": "162", "state": "California", }, { "city": "Cary", "growth_from_2000_to_2013": "55.1%", "latitude": 35.79154, "longitude": -78.7811169, "population": "151088", "rank": "163", "state": "North Carolina", }, { "city": "Rockford", "growth_from_2000_to_2013": "-1.0%", "latitude": 42.2711311, "longitude": -89.0939952, "population": "150251", "rank": "164", "state": "Illinois", }, { "city": "Alexandria", "growth_from_2000_to_2013": "15.0%", "latitude": 38.8048355, "longitude": -77.0469214, "population": "148892", "rank": "165", "state": "Virginia", }, { "city": "Escondido", "growth_from_2000_to_2013": "10.7%", "latitude": 33.1192068, "longitude": -117.086421, "population": "148738", "rank": "166", "state": "California", }, { "city": "McKinney", "growth_from_2000_to_2013": "165.3%", "latitude": 33.1972465, "longitude": -96.6397822, "population": "148559", "rank": "167", "state": "Texas", }, { "city": "Kansas City", "growth_from_2000_to_2013": "1.1%", "latitude": 39.114053, "longitude": -94.6274636, "population": "148483", "rank": "168", "state": "Kansas", }, { "city": "Joliet", "growth_from_2000_to_2013": "36.5%", "latitude": 41.525031, "longitude": -88.0817251, "population": "147806", "rank": "169", "state": "Illinois", }, { "city": "Sunnyvale", "growth_from_2000_to_2013": "11.9%", "latitude": 37.36883, "longitude": -122.0363496, "population": "147559", "rank": "170", "state": "California", }, { "city": "Torrance", "growth_from_2000_to_2013": "6.6%", "latitude": 33.8358492, "longitude": -118.3406288, "population": "147478", "rank": "171", "state": "California", }, { "city": "Bridgeport", "growth_from_2000_to_2013": "5.4%", "latitude": 41.1865478, "longitude": -73.19517669999999, "population": "147216", "rank": "172", "state": "Connecticut", }, { "city": "Lakewood", "growth_from_2000_to_2013": "1.9%", "latitude": 39.7047095, "longitude": -105.0813734, "population": "147214", "rank": "173", "state": "Colorado", }, { "city": "Hollywood", "growth_from_2000_to_2013": "4.8%", "latitude": 26.0112014, "longitude": -80.1494901, "population": "146526", "rank": "174", "state": "Florida", }, { "city": "Paterson", "growth_from_2000_to_2013": "-2.2%", "latitude": 40.9167654, "longitude": -74.17181099999999, "population": "145948", "rank": "175", "state": "New Jersey", }, { "city": "Naperville", "growth_from_2000_to_2013": "12.0%", "latitude": 41.7508391, "longitude": -88.1535352, "population": "144864", "rank": "176", "state": "Illinois", }, { "city": "Syracuse", "growth_from_2000_to_2013": "-0.9%", "latitude": 43.0481221, "longitude": -76.14742439999999, "population": "144669", "rank": "177", "state": "New York", }, { "city": "Mesquite", "growth_from_2000_to_2013": "14.7%", "latitude": 32.76679550000001, "longitude": -96.5991593, "population": "143484", "rank": "178", "state": "Texas", }, { "city": "Dayton", "growth_from_2000_to_2013": "-13.5%", "latitude": 39.7589478, "longitude": -84.1916069, "population": "143355", "rank": "179", "state": "Ohio", }, { "city": "Savannah", "growth_from_2000_to_2013": "7.5%", "latitude": 32.0835407, "longitude": -81.09983419999999, "population": "142772", "rank": "180", "state": "Georgia", }, { "city": "Clarksville", "growth_from_2000_to_2013": "36.9%", "latitude": 36.5297706, "longitude": -87.3594528, "population": "142357", "rank": "181", "state": "Tennessee", }, { "city": "Orange", "growth_from_2000_to_2013": "7.7%", "latitude": 33.7877944, "longitude": -117.8531119, "population": "139969", "rank": "182", "state": "California", }, { "city": "Pasadena", "growth_from_2000_to_2013": "3.8%", "latitude": 34.1477849, "longitude": -118.1445155, "population": "139731", "rank": "183", "state": "California", }, { "city": "Fullerton", "growth_from_2000_to_2013": "9.8%", "latitude": 33.8703596, "longitude": -117.9242966, "population": "138981", "rank": "184", "state": "California", }, { "city": "Killeen", "growth_from_2000_to_2013": "52.1%", "latitude": 31.1171194, "longitude": -97.72779589999999, "population": "137147", "rank": "185", "state": "Texas", }, { "city": "Frisco", "growth_from_2000_to_2013": "287.7%", "latitude": 33.1506744, "longitude": -96.82361159999999, "population": "136791", "rank": "186", "state": "Texas", }, { "city": "Hampton", "growth_from_2000_to_2013": "-6.6%", "latitude": 37.0298687, "longitude": -76.34522179999999, "population": "136699", "rank": "187", "state": "Virginia", }, { "city": "McAllen", "growth_from_2000_to_2013": "27.6%", "latitude": 26.2034071, "longitude": -98.23001239999999, "population": "136639", "rank": "188", "state": "Texas", }, { "city": "Warren", "growth_from_2000_to_2013": "-2.3%", "latitude": 42.5144566, "longitude": -83.01465259999999, "population": "134873", "rank": "189", "state": "Michigan", }, { "city": "Bellevue", "growth_from_2000_to_2013": "19.1%", "latitude": 47.610377, "longitude": -122.2006786, "population": "133992", "rank": "190", "state": "Washington", }, { "city": "West Valley City", "growth_from_2000_to_2013": "22.2%", "latitude": 40.6916132, "longitude": -112.0010501, "population": "133579", "rank": "191", "state": "Utah", }, { "city": "Columbia", "growth_from_2000_to_2013": "11.7%", "latitude": 34.0007104, "longitude": -81.0348144, "population": "133358", "rank": "192", "state": "South Carolina", }, { "city": "Olathe", "growth_from_2000_to_2013": "40.4%", "latitude": 38.8813958, "longitude": -94.81912849999999, "population": "131885", "rank": "193", "state": "Kansas", }, { "city": "Sterling Heights", "growth_from_2000_to_2013": "5.2%", "latitude": 42.5803122, "longitude": -83.0302033, "population": "131224", "rank": "194", "state": "Michigan", }, { "city": "New Haven", "growth_from_2000_to_2013": "5.5%", "latitude": 41.308274, "longitude": -72.9278835, "population": "130660", "rank": "195", "state": "Connecticut", }, { "city": "Miramar", "growth_from_2000_to_2013": "74.7%", "latitude": 25.9860762, "longitude": -80.30356019999999, "population": "130288", "rank": "196", "state": "Florida", }, { "city": "Waco", "growth_from_2000_to_2013": "12.5%", "latitude": 31.549333, "longitude": -97.1466695, "population": "129030", "rank": "197", "state": "Texas", }, { "city": "Thousand Oaks", "growth_from_2000_to_2013": "9.5%", "latitude": 34.1705609, "longitude": -118.8375937, "population": "128731", "rank": "198", "state": "California", }, { "city": "Cedar Rapids", "growth_from_2000_to_2013": "5.4%", "latitude": 41.9778795, "longitude": -91.6656232, "population": "128429", "rank": "199", "state": "Iowa", }, { "city": "Charleston", "growth_from_2000_to_2013": "29.2%", "latitude": 32.7764749, "longitude": -79.93105120000001, "population": "127999", "rank": "200", "state": "South Carolina", }, { "city": "Visalia", "growth_from_2000_to_2013": "33.6%", "latitude": 36.3302284, "longitude": -119.2920585, "population": "127763", "rank": "201", "state": "California", }, { "city": "Topeka", "growth_from_2000_to_2013": "3.4%", "latitude": 39.0558235, "longitude": -95.68901849999999, "population": "127679", "rank": "202", "state": "Kansas", }, { "city": "Elizabeth", "growth_from_2000_to_2013": "5.5%", "latitude": 40.6639916, "longitude": -74.2107006, "population": "127558", "rank": "203", "state": "New Jersey", }, { "city": "Gainesville", "growth_from_2000_to_2013": "12.8%", "latitude": 29.6516344, "longitude": -82.32482619999999, "population": "127488", "rank": "204", "state": "Florida", }, { "city": "Thornton", "growth_from_2000_to_2013": "52.9%", "latitude": 39.8680412, "longitude": -104.9719243, "population": "127359", "rank": "205", "state": "Colorado", }, { "city": "Roseville", "growth_from_2000_to_2013": "56.2%", "latitude": 38.7521235, "longitude": -121.2880059, "population": "127035", "rank": "206", "state": "California", }, { "city": "Carrollton", "growth_from_2000_to_2013": "14.9%", "latitude": 32.9756415, "longitude": -96.8899636, "population": "126700", "rank": "207", "state": "Texas", }, { "city": "Coral Springs", "growth_from_2000_to_2013": "5.7%", "latitude": 26.271192, "longitude": -80.2706044, "population": "126604", "rank": "208", "state": "Florida", }, { "city": "Stamford", "growth_from_2000_to_2013": "7.6%", "latitude": 41.0534302, "longitude": -73.5387341, "population": "126456", "rank": "209", "state": "Connecticut", }, { "city": "Simi Valley", "growth_from_2000_to_2013": "12.6%", "latitude": 34.2694474, "longitude": -118.781482, "population": "126181", "rank": "210", "state": "California", }, { "city": "Concord", "growth_from_2000_to_2013": "2.9%", "latitude": 37.9779776, "longitude": -122.0310733, "population": "125880", "rank": "211", "state": "California", }, { "city": "Hartford", "growth_from_2000_to_2013": "0.6%", "latitude": 41.76371109999999, "longitude": -72.6850932, "population": "125017", "rank": "212", "state": "Connecticut", }, { "city": "Kent", "growth_from_2000_to_2013": "54.3%", "latitude": 47.3809335, "longitude": -122.2348431, "population": "124435", "rank": "213", "state": "Washington", }, { "city": "Lafayette", "growth_from_2000_to_2013": "11.0%", "latitude": 30.2240897, "longitude": -92.0198427, "population": "124276", "rank": "214", "state": "Louisiana", }, { "city": "Midland", "growth_from_2000_to_2013": "30.4%", "latitude": 31.9973456, "longitude": -102.0779146, "population": "123933", "rank": "215", "state": "Texas", }, { "city": "Surprise", "growth_from_2000_to_2013": "281.9%", "latitude": 33.6292337, "longitude": -112.3679279, "population": "123546", "rank": "216", "state": "Arizona", }, { "city": "Denton", "growth_from_2000_to_2013": "47.1%", "latitude": 33.2148412, "longitude": -97.13306829999999, "population": "123099", "rank": "217", "state": "Texas", }, { "city": "Victorville", "growth_from_2000_to_2013": "87.6%", "latitude": 34.5362184, "longitude": -117.2927641, "population": "121096", "rank": "218", "state": "California", }, { "city": "Evansville", "growth_from_2000_to_2013": "-0.8%", "latitude": 37.9715592, "longitude": -87.5710898, "population": "120310", "rank": "219", "state": "Indiana", }, { "city": "Santa Clara", "growth_from_2000_to_2013": "17.4%", "latitude": 37.3541079, "longitude": -121.9552356, "population": "120245", "rank": "220", "state": "California", }, { "city": "Abilene", "growth_from_2000_to_2013": "3.6%", "latitude": 32.4487364, "longitude": -99.73314390000002, "population": "120099", "rank": "221", "state": "Texas", }, { "city": "Athens-Clarke County", "growth_from_2000_to_2013": "19.0%", "latitude": 33.9519347, "longitude": -83.357567, "population": "119980", "rank": "222", "state": "Georgia", }, { "city": "Vallejo", "growth_from_2000_to_2013": "1.2%", "latitude": 38.1040864, "longitude": -122.2566367, "population": "118837", "rank": "223", "state": "California", }, { "city": "Allentown", "growth_from_2000_to_2013": "11.2%", "latitude": 40.6084305, "longitude": -75.4901833, "population": "118577", "rank": "224", "state": "Pennsylvania", }, { "city": "Norman", "growth_from_2000_to_2013": "22.0%", "latitude": 35.2225668, "longitude": -97.4394777, "population": "118197", "rank": "225", "state": "Oklahoma", }, { "city": "Beaumont", "growth_from_2000_to_2013": "3.7%", "latitude": 30.080174, "longitude": -94.1265562, "population": "117796", "rank": "226", "state": "Texas", }, { "city": "Independence", "growth_from_2000_to_2013": "3.2%", "latitude": 39.0911161, "longitude": -94.41550679999999, "population": "117240", "rank": "227", "state": "Missouri", }, { "city": "Murfreesboro", "growth_from_2000_to_2013": "65.1%", "latitude": 35.8456213, "longitude": -86.39027, "population": "117044", "rank": "228", "state": "Tennessee", }, { "city": "Ann Arbor", "growth_from_2000_to_2013": "2.0%", "latitude": 42.2808256, "longitude": -83.7430378, "population": "117025", "rank": "229", "state": "Michigan", }, { "city": "Springfield", "growth_from_2000_to_2013": "4.2%", "latitude": 39.78172130000001, "longitude": -89.6501481, "population": "117006", "rank": "230", "state": "Illinois", }, { "city": "Berkeley", "growth_from_2000_to_2013": "13.3%", "latitude": 37.8715926, "longitude": -122.272747, "population": "116768", "rank": "231", "state": "California", }, { "city": "Peoria", "growth_from_2000_to_2013": "3.0%", "latitude": 40.6936488, "longitude": -89.5889864, "population": "116513", "rank": "232", "state": "Illinois", }, { "city": "Provo", "growth_from_2000_to_2013": "10.0%", "latitude": 40.2338438, "longitude": -111.6585337, "population": "116288", "rank": "233", "state": "Utah", }, { "city": "El Monte", "growth_from_2000_to_2013": "-0.4%", "latitude": 34.0686206, "longitude": -118.0275667, "population": "115708", "rank": "234", "state": "California", }, { "city": "Columbia", "growth_from_2000_to_2013": "34.0%", "latitude": 38.9517053, "longitude": -92.3340724, "population": "115276", "rank": "235", "state": "Missouri", }, { "city": "Lansing", "growth_from_2000_to_2013": "-4.4%", "latitude": 42.732535, "longitude": -84.5555347, "population": "113972", "rank": "236", "state": "Michigan", }, { "city": "Fargo", "growth_from_2000_to_2013": "24.9%", "latitude": 46.8771863, "longitude": -96.7898034, "population": "113658", "rank": "237", "state": "North Dakota", }, { "city": "Downey", "growth_from_2000_to_2013": "5.3%", "latitude": 33.9401088, "longitude": -118.1331593, "population": "113242", "rank": "238", "state": "California", }, { "city": "Costa Mesa", "growth_from_2000_to_2013": "2.4%", "latitude": 33.6411316, "longitude": -117.9186689, "population": "112174", "rank": "239", "state": "California", }, { "city": "Wilmington", "growth_from_2000_to_2013": "24.8%", "latitude": 34.2257255, "longitude": -77.9447102, "population": "112067", "rank": "240", "state": "North Carolina", }, { "city": "Arvada", "growth_from_2000_to_2013": "9.2%", "latitude": 39.8027644, "longitude": -105.0874842, "population": "111707", "rank": "241", "state": "Colorado", }, { "city": "Inglewood", "growth_from_2000_to_2013": "-1.0%", "latitude": 33.9616801, "longitude": -118.3531311, "population": "111542", "rank": "242", "state": "California", }, { "city": "Miami Gardens", "growth_from_2000_to_2013": "10.5%", "latitude": 25.9420377, "longitude": -80.2456045, "population": "111378", "rank": "243", "state": "Florida", }, { "city": "Carlsbad", "growth_from_2000_to_2013": "39.7%", "latitude": 33.1580933, "longitude": -117.3505939, "population": "110972", "rank": "244", "state": "California", }, { "city": "Westminster", "growth_from_2000_to_2013": "9.4%", "latitude": 39.8366528, "longitude": -105.0372046, "population": "110945", "rank": "245", "state": "Colorado", }, { "city": "Rochester", "growth_from_2000_to_2013": "23.9%", "latitude": 44.0121221, "longitude": -92.4801989, "population": "110742", "rank": "246", "state": "Minnesota", }, { "city": "Odessa", "growth_from_2000_to_2013": "22.3%", "latitude": 31.8456816, "longitude": -102.3676431, "population": "110720", "rank": "247", "state": "Texas", }, { "city": "Manchester", "growth_from_2000_to_2013": "2.9%", "latitude": 42.9956397, "longitude": -71.4547891, "population": "110378", "rank": "248", "state": "New Hampshire", }, { "city": "Elgin", "growth_from_2000_to_2013": "16.0%", "latitude": 42.0354084, "longitude": -88.2825668, "population": "110145", "rank": "249", "state": "Illinois", }, { "city": "West Jordan", "growth_from_2000_to_2013": "38.4%", "latitude": 40.6096698, "longitude": -111.9391031, "population": "110077", "rank": "250", "state": "Utah", }, { "city": "Round Rock", "growth_from_2000_to_2013": "81.0%", "latitude": 30.5082551, "longitude": -97.678896, "population": "109821", "rank": "251", "state": "Texas", }, { "city": "Clearwater", "growth_from_2000_to_2013": "0.1%", "latitude": 27.9658533, "longitude": -82.8001026, "population": "109703", "rank": "252", "state": "Florida", }, { "city": "Waterbury", "growth_from_2000_to_2013": "2.2%", "latitude": 41.5581525, "longitude": -73.0514965, "population": "109676", "rank": "253", "state": "Connecticut", }, { "city": "Gresham", "growth_from_2000_to_2013": "20.7%", "latitude": 45.5001357, "longitude": -122.4302013, "population": "109397", "rank": "254", "state": "Oregon", }, { "city": "Fairfield", "growth_from_2000_to_2013": "12.8%", "latitude": 38.24935809999999, "longitude": -122.0399663, "population": "109320", "rank": "255", "state": "California", }, { "city": "Billings", "growth_from_2000_to_2013": "18.6%", "latitude": 45.7832856, "longitude": -108.5006904, "population": "109059", "rank": "256", "state": "Montana", }, { "city": "Lowell", "growth_from_2000_to_2013": "3.4%", "latitude": 42.6334247, "longitude": -71.31617179999999, "population": "108861", "rank": "257", "state": "Massachusetts", }, { "city": "San Buenaventura (Ventura)", "growth_from_2000_to_2013": "7.4%", "latitude": 34.274646, "longitude": -119.2290316, "population": "108817", "rank": "258", "state": "California", }, { "city": "Pueblo", "growth_from_2000_to_2013": "5.9%", "latitude": 38.2544472, "longitude": -104.6091409, "population": "108249", "rank": "259", "state": "Colorado", }, { "city": "High Point", "growth_from_2000_to_2013": "24.3%", "latitude": 35.9556923, "longitude": -80.0053176, "population": "107741", "rank": "260", "state": "North Carolina", }, { "city": "West Covina", "growth_from_2000_to_2013": "2.3%", "latitude": 34.0686208, "longitude": -117.9389526, "population": "107740", "rank": "261", "state": "California", }, { "city": "Richmond", "growth_from_2000_to_2013": "7.9%", "latitude": 37.9357576, "longitude": -122.3477486, "population": "107571", "rank": "262", "state": "California", }, { "city": "Murrieta", "growth_from_2000_to_2013": "107.4%", "latitude": 33.5539143, "longitude": -117.2139232, "population": "107479", "rank": "263", "state": "California", }, { "city": "Cambridge", "growth_from_2000_to_2013": "5.5%", "latitude": 42.3736158, "longitude": -71.10973349999999, "population": "107289", "rank": "264", "state": "Massachusetts", }, { "city": "Antioch", "growth_from_2000_to_2013": "16.9%", "latitude": 38.0049214, "longitude": -121.805789, "population": "107100", "rank": "265", "state": "California", }, { "city": "Temecula", "growth_from_2000_to_2013": "55.4%", "latitude": 33.4936391, "longitude": -117.1483648, "population": "106780", "rank": "266", "state": "California", }, { "city": "Norwalk", "growth_from_2000_to_2013": "1.9%", "latitude": 33.9022367, "longitude": -118.081733, "population": "106589", "rank": "267", "state": "California", }, { "city": "Centennial", "growth_from_2000_to_2013": "3.5%", "latitude": 39.5807452, "longitude": -104.8771726, "population": "106114", "rank": "268", "state": "Colorado", }, { "city": "Everett", "growth_from_2000_to_2013": "9.4%", "latitude": 47.9789848, "longitude": -122.2020794, "population": "105370", "rank": "269", "state": "Washington", }, { "city": "Palm Bay", "growth_from_2000_to_2013": "31.7%", "latitude": 28.0344621, "longitude": -80.5886646, "population": "104898", "rank": "270", "state": "Florida", }, { "city": "Wichita Falls", "growth_from_2000_to_2013": "0.7%", "latitude": 33.9137085, "longitude": -98.4933873, "population": "104898", "rank": "271", "state": "Texas", }, { "city": "Green Bay", "growth_from_2000_to_2013": "1.9%", "latitude": 44.51915899999999, "longitude": -88.019826, "population": "104779", "rank": "272", "state": "Wisconsin", }, { "city": "Daly City", "growth_from_2000_to_2013": "1.0%", "latitude": 37.6879241, "longitude": -122.4702079, "population": "104739", "rank": "273", "state": "California", }, { "city": "Burbank", "growth_from_2000_to_2013": "4.2%", "latitude": 34.1808392, "longitude": -118.3089661, "population": "104709", "rank": "274", "state": "California", }, { "city": "Richardson", "growth_from_2000_to_2013": "13.2%", "latitude": 32.9483335, "longitude": -96.7298519, "population": "104475", "rank": "275", "state": "Texas", }, { "city": "Pompano Beach", "growth_from_2000_to_2013": "4.0%", "latitude": 26.2378597, "longitude": -80.1247667, "population": "104410", "rank": "276", "state": "Florida", }, { "city": "North Charleston", "growth_from_2000_to_2013": "27.4%", "latitude": 32.8546197, "longitude": -79.9748103, "population": "104054", "rank": "277", "state": "South Carolina", }, { "city": "Broken Arrow", "growth_from_2000_to_2013": "28.2%", "latitude": 36.060949, "longitude": -95.7974526, "population": "103500", "rank": "278", "state": "Oklahoma", }, { "city": "Boulder", "growth_from_2000_to_2013": "9.0%", "latitude": 40.0149856, "longitude": -105.2705456, "population": "103166", "rank": "279", "state": "Colorado", }, { "city": "West Palm Beach", "growth_from_2000_to_2013": "23.5%", "latitude": 26.7153424, "longitude": -80.0533746, "population": "102436", "rank": "280", "state": "Florida", }, { "city": "Santa Maria", "growth_from_2000_to_2013": "30.9%", "latitude": 34.9530337, "longitude": -120.4357191, "population": "102216", "rank": "281", "state": "California", }, { "city": "El Cajon", "growth_from_2000_to_2013": "7.4%", "latitude": 32.7947731, "longitude": -116.9625269, "population": "102211", "rank": "282", "state": "California", }, { "city": "Davenport", "growth_from_2000_to_2013": "3.9%", "latitude": 41.5236437, "longitude": -90.5776367, "population": "102157", "rank": "283", "state": "Iowa", }, { "city": "Rialto", "growth_from_2000_to_2013": "9.8%", "latitude": 34.1064001, "longitude": -117.3703235, "population": "101910", "rank": "284", "state": "California", }, { "city": "Las Cruces", "growth_from_2000_to_2013": "37.6%", "latitude": 32.3199396, "longitude": -106.7636538, "population": "101324", "rank": "285", "state": "New Mexico", }, { "city": "San Mateo", "growth_from_2000_to_2013": "9.0%", "latitude": 37.5629917, "longitude": -122.3255254, "population": "101128", "rank": "286", "state": "California", }, { "city": "Lewisville", "growth_from_2000_to_2013": "28.9%", "latitude": 33.046233, "longitude": -96.994174, "population": "101074", "rank": "287", "state": "Texas", }, { "city": "South Bend", "growth_from_2000_to_2013": "-6.8%", "latitude": 41.6763545, "longitude": -86.25198979999999, "population": "100886", "rank": "288", "state": "Indiana", }, { "city": "Lakeland", "growth_from_2000_to_2013": "18.3%", "latitude": 28.0394654, "longitude": -81.9498042, "population": "100710", "rank": "289", "state": "Florida", }, { "city": "Erie", "growth_from_2000_to_2013": "-2.8%", "latitude": 42.12922409999999, "longitude": -80.085059, "population": "100671", "rank": "290", "state": "Pennsylvania", }, { "city": "Tyler", "growth_from_2000_to_2013": "18.6%", "latitude": 32.3512601, "longitude": -95.30106239999999, "population": "100223", "rank": "291", "state": "Texas", }, { "city": "Pearland", "growth_from_2000_to_2013": "117.2%", "latitude": 29.5635666, "longitude": -95.2860474, "population": "100065", "rank": "292", "state": "Texas", }, { "city": "College Station", "growth_from_2000_to_2013": "45.2%", "latitude": 30.627977, "longitude": -96.3344068, "population": "100050", "rank": "293", "state": "Texas", }, { "city": "Kenosha", "growth_from_2000_to_2013": "9.5%", "latitude": 42.5847425, "longitude": -87.82118539999999, "population": "99889", "rank": "294", "state": "Wisconsin", }, { "city": "Sandy Springs", "growth_from_2000_to_2013": "17.4%", "latitude": 33.9304352, "longitude": -84.3733147, "population": "99770", "rank": "295", "state": "Georgia", }, { "city": "Clovis", "growth_from_2000_to_2013": "42.6%", "latitude": 36.8252277, "longitude": -119.7029194, "population": "99769", "rank": "296", "state": "California", }, { "city": "Flint", "growth_from_2000_to_2013": "-20.0%", "latitude": 43.0125274, "longitude": -83.6874562, "population": "99763", "rank": "297", "state": "Michigan", }, { "city": "Roanoke", "growth_from_2000_to_2013": "3.8%", "latitude": 37.2709704, "longitude": -79.9414266, "population": "98465", "rank": "298", "state": "Virginia", }, { "city": "Albany", "growth_from_2000_to_2013": "4.1%", "latitude": 42.6525793, "longitude": -73.7562317, "population": "98424", "rank": "299", "state": "New York", }, { "city": "Jurupa Valley", "growth_from_2000_to_2013": "", "latitude": 33.9971974, "longitude": -117.4854802, "population": "98030", "rank": "300", "state": "California", }, { "city": "Compton", "growth_from_2000_to_2013": "4.5%", "latitude": 33.8958492, "longitude": -118.2200712, "population": "97877", "rank": "301", "state": "California", }, { "city": "San Angelo", "growth_from_2000_to_2013": "10.2%", "latitude": 31.4637723, "longitude": -100.4370375, "population": "97492", "rank": "302", "state": "Texas", }, { "city": "Hillsboro", "growth_from_2000_to_2013": "36.4%", "latitude": 45.5228939, "longitude": -122.989827, "population": "97368", "rank": "303", "state": "Oregon", }, { "city": "Lawton", "growth_from_2000_to_2013": "4.9%", "latitude": 34.6035669, "longitude": -98.39592909999999, "population": "97151", "rank": "304", "state": "Oklahoma", }, { "city": "Renton", "growth_from_2000_to_2013": "88.4%", "latitude": 47.48287759999999, "longitude": -122.2170661, "population": "97003", "rank": "305", "state": "Washington", }, { "city": "Vista", "growth_from_2000_to_2013": "7.7%", "latitude": 33.2000368, "longitude": -117.2425355, "population": "96929", "rank": "306", "state": "California", }, { "city": "Davie", "growth_from_2000_to_2013": "17.7%", "latitude": 26.0764783, "longitude": -80.25211569999999, "population": "96830", "rank": "307", "state": "Florida", }, { "city": "Greeley", "growth_from_2000_to_2013": "23.1%", "latitude": 40.4233142, "longitude": -104.7091322, "population": "96539", "rank": "308", "state": "Colorado", }, { "city": "Mission Viejo", "growth_from_2000_to_2013": "2.9%", "latitude": 33.6000232, "longitude": -117.6719953, "population": "96346", "rank": "309", "state": "California", }, { "city": "Portsmouth", "growth_from_2000_to_2013": "-4.2%", "latitude": 36.8354258, "longitude": -76.2982742, "population": "96205", "rank": "310", "state": "Virginia", }, { "city": "Dearborn", "growth_from_2000_to_2013": "-2.0%", "latitude": 42.3222599, "longitude": -83.17631449999999, "population": "95884", "rank": "311", "state": "Michigan", }, { "city": "South Gate", "growth_from_2000_to_2013": "-0.8%", "latitude": 33.954737, "longitude": -118.2120161, "population": "95677", "rank": "312", "state": "California", }, { "city": "Tuscaloosa", "growth_from_2000_to_2013": "21.1%", "latitude": 33.2098407, "longitude": -87.56917349999999, "population": "95334", "rank": "313", "state": "Alabama", }, { "city": "Livonia", "growth_from_2000_to_2013": "-5.4%", "latitude": 42.36837, "longitude": -83.35270969999999, "population": "95208", "rank": "314", "state": "Michigan", }, { "city": "New Bedford", "growth_from_2000_to_2013": "1.2%", "latitude": 41.6362152, "longitude": -70.93420499999999, "population": "95078", "rank": "315", "state": "Massachusetts", }, { "city": "Vacaville", "growth_from_2000_to_2013": "5.4%", "latitude": 38.3565773, "longitude": -121.9877444, "population": "94275", "rank": "316", "state": "California", }, { "city": "Brockton", "growth_from_2000_to_2013": "-0.3%", "latitude": 42.0834335, "longitude": -71.0183787, "population": "94089", "rank": "317", "state": "Massachusetts", }, { "city": "Roswell", "growth_from_2000_to_2013": "15.2%", "latitude": 34.0232431, "longitude": -84.3615555, "population": "94034", "rank": "318", "state": "Georgia", }, { "city": "Beaverton", "growth_from_2000_to_2013": "17.0%", "latitude": 45.48706199999999, "longitude": -122.8037102, "population": "93542", "rank": "319", "state": "Oregon", }, { "city": "Quincy", "growth_from_2000_to_2013": "5.8%", "latitude": 42.2528772, "longitude": -71.0022705, "population": "93494", "rank": "320", "state": "Massachusetts", }, { "city": "Sparks", "growth_from_2000_to_2013": "39.4%", "latitude": 39.5349112, "longitude": -119.7526886, "population": "93282", "rank": "321", "state": "Nevada", }, { "city": "Yakima", "growth_from_2000_to_2013": "11.7%", "latitude": 46.6020711, "longitude": -120.5058987, "population": "93257", "rank": "322", "state": "Washington", }, { "city": "Lee's Summit", "growth_from_2000_to_2013": "31.2%", "latitude": 38.9108408, "longitude": -94.3821724, "population": "93184", "rank": "323", "state": "Missouri", }, { "city": "Federal Way", "growth_from_2000_to_2013": "8.8%", "latitude": 47.3223221, "longitude": -122.3126222, "population": "92734", "rank": "324", "state": "Washington", }, { "city": "Carson", "growth_from_2000_to_2013": "2.9%", "latitude": 33.8316745, "longitude": -118.281693, "population": "92599", "rank": "325", "state": "California", }, { "city": "Santa Monica", "growth_from_2000_to_2013": "9.6%", "latitude": 34.0194543, "longitude": -118.4911912, "population": "92472", "rank": "326", "state": "California", }, { "city": "Hesperia", "growth_from_2000_to_2013": "46.1%", "latitude": 34.4263886, "longitude": -117.3008784, "population": "92147", "rank": "327", "state": "California", }, { "city": "Allen", "growth_from_2000_to_2013": "104.0%", "latitude": 33.1031744, "longitude": -96.67055030000002, "population": "92020", "rank": "328", "state": "Texas", }, { "city": "Rio Rancho", "growth_from_2000_to_2013": "74.4%", "latitude": 35.2327544, "longitude": -106.6630437, "population": "91956", "rank": "329", "state": "New Mexico", }, { "city": "Yuma", "growth_from_2000_to_2013": "16.2%", "latitude": 32.6926512, "longitude": -114.6276916, "population": "91923", "rank": "330", "state": "Arizona", }, { "city": "Westminster", "growth_from_2000_to_2013": "3.9%", "latitude": 33.7513419, "longitude": -117.9939921, "population": "91739", "rank": "331", "state": "California", }, { "city": "Orem", "growth_from_2000_to_2013": "8.5%", "latitude": 40.2968979, "longitude": -111.6946475, "population": "91648", "rank": "332", "state": "Utah", }, { "city": "Lynn", "growth_from_2000_to_2013": "2.6%", "latitude": 42.46676300000001, "longitude": -70.9494938, "population": "91589", "rank": "333", "state": "Massachusetts", }, { "city": "Redding", "growth_from_2000_to_2013": "11.9%", "latitude": 40.5865396, "longitude": -122.3916754, "population": "91119", "rank": "334", "state": "California", }, { "city": "Spokane Valley", "growth_from_2000_to_2013": "12.6%", "latitude": 47.6732281, "longitude": -117.2393748, "population": "91113", "rank": "335", "state": "Washington", }, { "city": "Miami Beach", "growth_from_2000_to_2013": "3.3%", "latitude": 25.790654, "longitude": -80.1300455, "population": "91026", "rank": "336", "state": "Florida", }, { "city": "League City", "growth_from_2000_to_2013": "98.3%", "latitude": 29.5074538, "longitude": -95.0949303, "population": "90983", "rank": "337", "state": "Texas", }, { "city": "Lawrence", "growth_from_2000_to_2013": "12.7%", "latitude": 38.9716689, "longitude": -95.2352501, "population": "90811", "rank": "338", "state": "Kansas", }, { "city": "Santa Barbara", "growth_from_2000_to_2013": "0.9%", "latitude": 34.4208305, "longitude": -119.6981901, "population": "90412", "rank": "339", "state": "California", }, { "city": "Plantation", "growth_from_2000_to_2013": "8.6%", "latitude": 26.1275862, "longitude": -80.23310359999999, "population": "90268", "rank": "340", "state": "Florida", }, { "city": "Sandy", "growth_from_2000_to_2013": "1.3%", "latitude": 40.5649781, "longitude": -111.8389726, "population": "90231", "rank": "341", "state": "Utah", }, { "city": "Sunrise", "growth_from_2000_to_2013": "4.6%", "latitude": 26.1669711, "longitude": -80.25659499999999, "population": "90116", "rank": "342", "state": "Florida", }, { "city": "Macon", "growth_from_2000_to_2013": "-7.3%", "latitude": 32.8406946, "longitude": -83.6324022, "population": "89981", "rank": "343", "state": "Georgia", }, { "city": "Longmont", "growth_from_2000_to_2013": "24.4%", "latitude": 40.1672068, "longitude": -105.1019275, "population": "89919", "rank": "344", "state": "Colorado", }, { "city": "Boca Raton", "growth_from_2000_to_2013": "7.5%", "latitude": 26.3683064, "longitude": -80.1289321, "population": "89407", "rank": "345", "state": "Florida", }, { "city": "San Marcos", "growth_from_2000_to_2013": "60.0%", "latitude": 33.1433723, "longitude": -117.1661449, "population": "89387", "rank": "346", "state": "California", }, { "city": "Greenville", "growth_from_2000_to_2013": "41.9%", "latitude": 35.612661, "longitude": -77.3663538, "population": "89130", "rank": "347", "state": "North Carolina", }, { "city": "Waukegan", "growth_from_2000_to_2013": "0.5%", "latitude": 42.3636331, "longitude": -87.84479379999999, "population": "88826", "rank": "348", "state": "Illinois", }, { "city": "Fall River", "growth_from_2000_to_2013": "-3.7%", "latitude": 41.7014912, "longitude": -71.1550451, "population": "88697", "rank": "349", "state": "Massachusetts", }, { "city": "Chico", "growth_from_2000_to_2013": "14.2%", "latitude": 39.7284944, "longitude": -121.8374777, "population": "88077", "rank": "350", "state": "California", }, { "city": "Newton", "growth_from_2000_to_2013": "4.9%", "latitude": 42.3370413, "longitude": -71.20922139999999, "population": "87971", "rank": "351", "state": "Massachusetts", }, { "city": "San Leandro", "growth_from_2000_to_2013": "10.3%", "latitude": 37.7249296, "longitude": -122.1560768, "population": "87965", "rank": "352", "state": "California", }, { "city": "Reading", "growth_from_2000_to_2013": "8.0%", "latitude": 40.3356483, "longitude": -75.9268747, "population": "87893", "rank": "353", "state": "Pennsylvania", }, { "city": "Norwalk", "growth_from_2000_to_2013": "5.6%", "latitude": 41.11774399999999, "longitude": -73.4081575, "population": "87776", "rank": "354", "state": "Connecticut", }, { "city": "Fort Smith", "growth_from_2000_to_2013": "8.6%", "latitude": 35.3859242, "longitude": -94.39854749999999, "population": "87650", "rank": "355", "state": "Arkansas", }, { "city": "Newport Beach", "growth_from_2000_to_2013": "10.4%", "latitude": 33.6189101, "longitude": -117.9289469, "population": "87273", "rank": "356", "state": "California", }, { "city": "Asheville", "growth_from_2000_to_2013": "19.6%", "latitude": 35.5950581, "longitude": -82.5514869, "population": "87236", "rank": "357", "state": "North Carolina", }, { "city": "Nashua", "growth_from_2000_to_2013": "0.4%", "latitude": 42.7653662, "longitude": -71.46756599999999, "population": "87137", "rank": "358", "state": "New Hampshire", }, { "city": "Edmond", "growth_from_2000_to_2013": "26.9%", "latitude": 35.6528323, "longitude": -97.47809540000002, "population": "87004", "rank": "359", "state": "Oklahoma", }, { "city": "Whittier", "growth_from_2000_to_2013": "3.3%", "latitude": 33.9791793, "longitude": -118.032844, "population": "86635", "rank": "360", "state": "California", }, { "city": "Nampa", "growth_from_2000_to_2013": "57.9%", "latitude": 43.5407172, "longitude": -116.5634624, "population": "86518", "rank": "361", "state": "Idaho", }, { "city": "Bloomington", "growth_from_2000_to_2013": "1.3%", "latitude": 44.840798, "longitude": -93.2982799, "population": "86319", "rank": "362", "state": "Minnesota", }, { "city": "Deltona", "growth_from_2000_to_2013": "23.1%", "latitude": 28.9005446, "longitude": -81.26367379999999, "population": "86290", "rank": "363", "state": "Florida", }, { "city": "Hawthorne", "growth_from_2000_to_2013": "2.3%", "latitude": 33.9164032, "longitude": -118.3525748, "population": "86199", "rank": "364", "state": "California", }, { "city": "Duluth", "growth_from_2000_to_2013": "-0.1%", "latitude": 46.78667189999999, "longitude": -92.1004852, "population": "86128", "rank": "365", "state": "Minnesota", }, { "city": "Carmel", "growth_from_2000_to_2013": "60.4%", "latitude": 39.978371, "longitude": -86.1180435, "population": "85927", "rank": "366", "state": "Indiana", }, { "city": "Suffolk", "growth_from_2000_to_2013": "33.5%", "latitude": 36.7282054, "longitude": -76.5835621, "population": "85728", "rank": "367", "state": "Virginia", }, { "city": "Clifton", "growth_from_2000_to_2013": "7.9%", "latitude": 40.8584328, "longitude": -74.16375529999999, "population": "85390", "rank": "368", "state": "New Jersey", }, { "city": "Citrus Heights", "growth_from_2000_to_2013": "-0.1%", "latitude": 38.7071247, "longitude": -121.2810611, "population": "85285", "rank": "369", "state": "California", }, { "city": "Livermore", "growth_from_2000_to_2013": "15.1%", "latitude": 37.6818745, "longitude": -121.7680088, "population": "85156", "rank": "370", "state": "California", }, { "city": "Tracy", "growth_from_2000_to_2013": "45.9%", "latitude": 37.7396513, "longitude": -121.4252227, "population": "84691", "rank": "371", "state": "California", }, { "city": "Alhambra", "growth_from_2000_to_2013": "-0.7%", "latitude": 34.095287, "longitude": -118.1270146, "population": "84577", "rank": "372", "state": "California", }, { "city": "Kirkland", "growth_from_2000_to_2013": "87.5%", "latitude": 47.6814875, "longitude": -122.2087353, "population": "84430", "rank": "373", "state": "Washington", }, { "city": "Trenton", "growth_from_2000_to_2013": "-1.2%", "latitude": 40.2170534, "longitude": -74.7429384, "population": "84349", "rank": "374", "state": "New Jersey", }, { "city": "Ogden", "growth_from_2000_to_2013": "8.6%", "latitude": 41.223, "longitude": -111.9738304, "population": "84249", "rank": "375", "state": "Utah", }, { "city": "Hoover", "growth_from_2000_to_2013": "32.7%", "latitude": 33.4053867, "longitude": -86.8113781, "population": "84126", "rank": "376", "state": "Alabama", }, { "city": "Cicero", "growth_from_2000_to_2013": "-1.6%", "latitude": 41.8455877, "longitude": -87.7539448, "population": "84103", "rank": "377", "state": "Illinois", }, { "city": "Fishers", "growth_from_2000_to_2013": "114.8%", "latitude": 39.9567548, "longitude": -86.01335, "population": "83891", "rank": "378", "state": "Indiana", }, { "city": "Sugar Land", "growth_from_2000_to_2013": "29.1%", "latitude": 29.6196787, "longitude": -95.6349463, "population": "83860", "rank": "379", "state": "Texas", }, { "city": "Danbury", "growth_from_2000_to_2013": "11.4%", "latitude": 41.394817, "longitude": -73.4540111, "population": "83684", "rank": "380", "state": "Connecticut", }, { "city": "Meridian", "growth_from_2000_to_2013": "127.6%", "latitude": 43.6121087, "longitude": -116.3915131, "population": "83596", "rank": "381", "state": "Idaho", }, { "city": "Indio", "growth_from_2000_to_2013": "66.0%", "latitude": 33.7205771, "longitude": -116.2155619, "population": "83539", "rank": "382", "state": "California", }, { "city": "Concord", "growth_from_2000_to_2013": "47.4%", "latitude": 35.4087517, "longitude": -80.579511, "population": "83506", "rank": "383", "state": "North Carolina", }, { "city": "Menifee", "growth_from_2000_to_2013": "95.0%", "latitude": 33.6971468, "longitude": -117.185294, "population": "83447", "rank": "384", "state": "California", }, { "city": "Champaign", "growth_from_2000_to_2013": "18.3%", "latitude": 40.1164204, "longitude": -88.2433829, "population": "83424", "rank": "385", "state": "Illinois", }, { "city": "Buena Park", "growth_from_2000_to_2013": "6.1%", "latitude": 33.8675143, "longitude": -117.9981181, "population": "82882", "rank": "386", "state": "California", }, { "city": "Troy", "growth_from_2000_to_2013": "2.2%", "latitude": 42.6064095, "longitude": -83.1497751, "population": "82821", "rank": "387", "state": "Michigan", }, { "city": "O'Fallon", "growth_from_2000_to_2013": "62.6%", "latitude": 38.8106075, "longitude": -90.69984769999999, "population": "82809", "rank": "388", "state": "Missouri", }, { "city": "Johns Creek", "growth_from_2000_to_2013": "36.5%", "latitude": 34.0289259, "longitude": -84.198579, "population": "82788", "rank": "389", "state": "Georgia", }, { "city": "Bellingham", "growth_from_2000_to_2013": "21.8%", "latitude": 48.74908, "longitude": -122.4781473, "population": "82631", "rank": "390", "state": "Washington", }, { "city": "Westland", "growth_from_2000_to_2013": "-4.7%", "latitude": 42.32420399999999, "longitude": -83.400211, "population": "82578", "rank": "391", "state": "Michigan", }, { "city": "Bloomington", "growth_from_2000_to_2013": "16.1%", "latitude": 39.165325, "longitude": -86.52638569999999, "population": "82575", "rank": "392", "state": "Indiana", }, { "city": "Sioux City", "growth_from_2000_to_2013": "-2.9%", "latitude": 42.4999942, "longitude": -96.40030689999999, "population": "82459", "rank": "393", "state": "Iowa", }, { "city": "Warwick", "growth_from_2000_to_2013": "-4.6%", "latitude": 41.7001009, "longitude": -71.4161671, "population": "81971", "rank": "394", "state": "Rhode Island", }, { "city": "Hemet", "growth_from_2000_to_2013": "37.6%", "latitude": 33.7475203, "longitude": -116.9719684, "population": "81750", "rank": "395", "state": "California", }, { "city": "Longview", "growth_from_2000_to_2013": "11.6%", "latitude": 32.5007037, "longitude": -94.74048909999999, "population": "81443", "rank": "396", "state": "Texas", }, { "city": "Farmington Hills", "growth_from_2000_to_2013": "-0.9%", "latitude": 42.4989936, "longitude": -83.3677168, "population": "81295", "rank": "397", "state": "Michigan", }, { "city": "Bend", "growth_from_2000_to_2013": "54.3%", "latitude": 44.0581728, "longitude": -121.3153096, "population": "81236", "rank": "398", "state": "Oregon", }, { "city": "Lakewood", "growth_from_2000_to_2013": "2.1%", "latitude": 33.8536269, "longitude": -118.1339563, "population": "81121", "rank": "399", "state": "California", }, { "city": "Merced", "growth_from_2000_to_2013": "25.4%", "latitude": 37.3021632, "longitude": -120.4829677, "population": "81102", "rank": "400", "state": "California", }, { "city": "Mission", "growth_from_2000_to_2013": "74.5%", "latitude": 26.2159066, "longitude": -98.32529319999999, "population": "81050", "rank": "401", "state": "Texas", }, { "city": "Chino", "growth_from_2000_to_2013": "15.6%", "latitude": 34.0122346, "longitude": -117.688944, "population": "80988", "rank": "402", "state": "California", }, { "city": "Redwood City", "growth_from_2000_to_2013": "7.1%", "latitude": 37.48521520000001, "longitude": -122.2363548, "population": "80872", "rank": "403", "state": "California", }, { "city": "Edinburg", "growth_from_2000_to_2013": "65.1%", "latitude": 26.3017374, "longitude": -98.1633432, "population": "80836", "rank": "404", "state": "Texas", }, { "city": "Cranston", "growth_from_2000_to_2013": "1.4%", "latitude": 41.7798226, "longitude": -71.4372796, "population": "80566", "rank": "405", "state": "Rhode Island", }, { "city": "Parma", "growth_from_2000_to_2013": "-5.9%", "latitude": 41.4047742, "longitude": -81.7229086, "population": "80429", "rank": "406", "state": "Ohio", }, { "city": "New Rochelle", "growth_from_2000_to_2013": "9.9%", "latitude": 40.9114882, "longitude": -73.7823549, "population": "79446", "rank": "407", "state": "New York", }, { "city": "Lake Forest", "growth_from_2000_to_2013": "4.2%", "latitude": 33.6469661, "longitude": -117.689218, "population": "79312", "rank": "408", "state": "California", }, { "city": "Napa", "growth_from_2000_to_2013": "8.4%", "latitude": 38.2975381, "longitude": -122.286865, "population": "79068", "rank": "409", "state": "California", }, { "city": "Hammond", "growth_from_2000_to_2013": "-4.6%", "latitude": 41.5833688, "longitude": -87.5000412, "population": "78967", "rank": "410", "state": "Indiana", }, { "city": "Fayetteville", "growth_from_2000_to_2013": "32.9%", "latitude": 36.0625795, "longitude": -94.1574263, "population": "78960", "rank": "411", "state": "Arkansas", }, { "city": "Bloomington", "growth_from_2000_to_2013": "20.1%", "latitude": 40.4842027, "longitude": -88.99368729999999, "population": "78902", "rank": "412", "state": "Illinois", }, { "city": "Avondale", "growth_from_2000_to_2013": "111.5%", "latitude": 33.4355977, "longitude": -112.3496021, "population": "78822", "rank": "413", "state": "Arizona", }, { "city": "Somerville", "growth_from_2000_to_2013": "1.6%", "latitude": 42.3875968, "longitude": -71.0994968, "population": "78804", "rank": "414", "state": "Massachusetts", }, { "city": "Palm Coast", "growth_from_2000_to_2013": "137.2%", "latitude": 29.5844524, "longitude": -81.20786989999999, "population": "78740", "rank": "415", "state": "Florida", }, { "city": "Bryan", "growth_from_2000_to_2013": "19.3%", "latitude": 30.6743643, "longitude": -96.3699632, "population": "78709", "rank": "416", "state": "Texas", }, { "city": "Gary", "growth_from_2000_to_2013": "-23.4%", "latitude": 41.5933696, "longitude": -87.3464271, "population": "78450", "rank": "417", "state": "Indiana", }, { "city": "Largo", "growth_from_2000_to_2013": "5.1%", "latitude": 27.9094665, "longitude": -82.7873244, "population": "78409", "rank": "418", "state": "Florida", }, { "city": "Brooklyn Park", "growth_from_2000_to_2013": "16.0%", "latitude": 45.0941315, "longitude": -93.3563405, "population": "78373", "rank": "419", "state": "Minnesota", }, { "city": "Tustin", "growth_from_2000_to_2013": "15.6%", "latitude": 33.7458511, "longitude": -117.826166, "population": "78327", "rank": "420", "state": "California", }, { "city": "Racine", "growth_from_2000_to_2013": "-4.4%", "latitude": 42.7261309, "longitude": -87.78285230000002, "population": "78199", "rank": "421", "state": "Wisconsin", }, { "city": "Deerfield Beach", "growth_from_2000_to_2013": "4.8%", "latitude": 26.3184123, "longitude": -80.09976569999999, "population": "78041", "rank": "422", "state": "Florida", }, { "city": "Lynchburg", "growth_from_2000_to_2013": "19.5%", "latitude": 37.4137536, "longitude": -79.14224639999999, "population": "78014", "rank": "423", "state": "Virginia", }, { "city": "Mountain View", "growth_from_2000_to_2013": "10.1%", "latitude": 37.3860517, "longitude": -122.0838511, "population": "77846", "rank": "424", "state": "California", }, { "city": "Medford", "growth_from_2000_to_2013": "17.1%", "latitude": 42.3265152, "longitude": -122.8755949, "population": "77677", "rank": "425", "state": "Oregon", }, { "city": "Lawrence", "growth_from_2000_to_2013": "7.5%", "latitude": 42.7070354, "longitude": -71.1631137, "population": "77657", "rank": "426", "state": "Massachusetts", }, { "city": "Bellflower", "growth_from_2000_to_2013": "6.3%", "latitude": 33.8816818, "longitude": -118.1170117, "population": "77593", "rank": "427", "state": "California", }, { "city": "Melbourne", "growth_from_2000_to_2013": "5.9%", "latitude": 28.0836269, "longitude": -80.60810889999999, "population": "77508", "rank": "428", "state": "Florida", }, { "city": "St. Joseph", "growth_from_2000_to_2013": "4.1%", "latitude": 39.7674578, "longitude": -94.84668099999999, "population": "77147", "rank": "429", "state": "Missouri", }, { "city": "Camden", "growth_from_2000_to_2013": "-3.6%", "latitude": 39.9259463, "longitude": -75.1196199, "population": "76903", "rank": "430", "state": "New Jersey", }, { "city": "St. George", "growth_from_2000_to_2013": "53.1%", "latitude": 37.0965278, "longitude": -113.5684164, "population": "76817", "rank": "431", "state": "Utah", }, { "city": "Kennewick", "growth_from_2000_to_2013": "29.1%", "latitude": 46.2112458, "longitude": -119.1372338, "population": "76762", "rank": "432", "state": "Washington", }, { "city": "Baldwin Park", "growth_from_2000_to_2013": "0.8%", "latitude": 34.0852868, "longitude": -117.9608978, "population": "76635", "rank": "433", "state": "California", }, { "city": "Chino Hills", "growth_from_2000_to_2013": "13.6%", "latitude": 33.9898188, "longitude": -117.7325848, "population": "76572", "rank": "434", "state": "California", }, { "city": "Alameda", "growth_from_2000_to_2013": "5.4%", "latitude": 37.7652065, "longitude": -122.2416355, "population": "76419", "rank": "435", "state": "California", }, { "city": "Albany", "growth_from_2000_to_2013": "-0.6%", "latitude": 31.5785074, "longitude": -84.15574099999999, "population": "76185", "rank": "436", "state": "Georgia", }, { "city": "Arlington Heights", "growth_from_2000_to_2013": "-0.6%", "latitude": 42.0883603, "longitude": -87.98062650000001, "population": "75994", "rank": "437", "state": "Illinois", }, { "city": "Scranton", "growth_from_2000_to_2013": "0.0%", "latitude": 41.408969, "longitude": -75.66241219999999, "population": "75806", "rank": "438", "state": "Pennsylvania", }, { "city": "Evanston", "growth_from_2000_to_2013": "1.9%", "latitude": 42.0450722, "longitude": -87.68769689999999, "population": "75570", "rank": "439", "state": "Illinois", }, { "city": "Kalamazoo", "growth_from_2000_to_2013": "-1.9%", "latitude": 42.2917069, "longitude": -85.5872286, "population": "75548", "rank": "440", "state": "Michigan", }, { "city": "Baytown", "growth_from_2000_to_2013": "13.1%", "latitude": 29.7355047, "longitude": -94.97742740000001, "population": "75418", "rank": "441", "state": "Texas", }, { "city": "Upland", "growth_from_2000_to_2013": "9.5%", "latitude": 34.09751, "longitude": -117.6483876, "population": "75413", "rank": "442", "state": "California", }, { "city": "Springdale", "growth_from_2000_to_2013": "57.1%", "latitude": 36.18674420000001, "longitude": -94.1288141, "population": "75229", "rank": "443", "state": "Arkansas", }, { "city": "Bethlehem", "growth_from_2000_to_2013": "5.2%", "latitude": 40.6259316, "longitude": -75.37045789999999, "population": "75018", "rank": "444", "state": "Pennsylvania", }, { "city": "Schaumburg", "growth_from_2000_to_2013": "-0.5%", "latitude": 42.0333607, "longitude": -88.0834059, "population": "74907", "rank": "445", "state": "Illinois", }, { "city": "Mount Pleasant", "growth_from_2000_to_2013": "53.2%", "latitude": 32.8323225, "longitude": -79.82842579999999, "population": "74885", "rank": "446", "state": "South Carolina", }, { "city": "Auburn", "growth_from_2000_to_2013": "34.9%", "latitude": 47.30732279999999, "longitude": -122.2284532, "population": "74860", "rank": "447", "state": "Washington", }, { "city": "Decatur", "growth_from_2000_to_2013": "-8.7%", "latitude": 39.8403147, "longitude": -88.9548001, "population": "74710", "rank": "448", "state": "Illinois", }, { "city": "San Ramon", "growth_from_2000_to_2013": "65.8%", "latitude": 37.7799273, "longitude": -121.9780153, "population": "74513", "rank": "449", "state": "California", }, { "city": "Pleasanton", "growth_from_2000_to_2013": "15.2%", "latitude": 37.6624312, "longitude": -121.8746789, "population": "74110", "rank": "450", "state": "California", }, { "city": "Wyoming", "growth_from_2000_to_2013": "6.5%", "latitude": 42.9133602, "longitude": -85.7053085, "population": "74100", "rank": "451", "state": "Michigan", }, { "city": "Lake Charles", "growth_from_2000_to_2013": "3.0%", "latitude": 30.2265949, "longitude": -93.2173758, "population": "74024", "rank": "452", "state": "Louisiana", }, { "city": "Plymouth", "growth_from_2000_to_2013": "12.0%", "latitude": 45.0105194, "longitude": -93.4555093, "population": "73987", "rank": "453", "state": "Minnesota", }, { "city": "Bolingbrook", "growth_from_2000_to_2013": "29.7%", "latitude": 41.69864159999999, "longitude": -88.0683955, "population": "73936", "rank": "454", "state": "Illinois", }, { "city": "Pharr", "growth_from_2000_to_2013": "55.7%", "latitude": 26.1947962, "longitude": -98.1836216, "population": "73790", "rank": "455", "state": "Texas", }, { "city": "Appleton", "growth_from_2000_to_2013": "4.5%", "latitude": 44.2619309, "longitude": -88.41538469999999, "population": "73596", "rank": "456", "state": "Wisconsin", }, { "city": "Gastonia", "growth_from_2000_to_2013": "8.2%", "latitude": 35.262082, "longitude": -81.18730049999999, "population": "73209", "rank": "457", "state": "North Carolina", }, { "city": "Folsom", "growth_from_2000_to_2013": "38.6%", "latitude": 38.6779591, "longitude": -121.1760583, "population": "73098", "rank": "458", "state": "California", }, { "city": "Southfield", "growth_from_2000_to_2013": "-6.7%", "latitude": 42.4733688, "longitude": -83.2218731, "population": "73006", "rank": "459", "state": "Michigan", }, { "city": "Rochester Hills", "growth_from_2000_to_2013": "5.7%", "latitude": 42.65836609999999, "longitude": -83.1499322, "population": "72952", "rank": "460", "state": "Michigan", }, { "city": "New Britain", "growth_from_2000_to_2013": "1.9%", "latitude": 41.6612104, "longitude": -72.7795419, "population": "72939", "rank": "461", "state": "Connecticut", }, { "city": "Goodyear", "growth_from_2000_to_2013": "271.0%", "latitude": 33.4353394, "longitude": -112.3576567, "population": "72864", "rank": "462", "state": "Arizona", }, { "city": "Canton", "growth_from_2000_to_2013": "-10.3%", "latitude": 40.79894729999999, "longitude": -81.378447, "population": "72535", "rank": "463", "state": "Ohio", }, { "city": "Warner Robins", "growth_from_2000_to_2013": "45.7%", "latitude": 32.6130007, "longitude": -83.624201, "population": "72531", "rank": "464", "state": "Georgia", }, { "city": "Union City", "growth_from_2000_to_2013": "7.4%", "latitude": 37.5933918, "longitude": -122.0438298, "population": "72528", "rank": "465", "state": "California", }, { "city": "Perris", "growth_from_2000_to_2013": "98.7%", "latitude": 33.7825194, "longitude": -117.2286478, "population": "72326", "rank": "466", "state": "California", }, { "city": "Manteca", "growth_from_2000_to_2013": "42.7%", "latitude": 37.7974273, "longitude": -121.2160526, "population": "71948", "rank": "467", "state": "California", }, { "city": "Iowa City", "growth_from_2000_to_2013": "13.8%", "latitude": 41.6611277, "longitude": -91.5301683, "population": "71591", "rank": "468", "state": "Iowa", }, { "city": "Jonesboro", "growth_from_2000_to_2013": "28.3%", "latitude": 35.84229670000001, "longitude": -90.704279, "population": "71551", "rank": "469", "state": "Arkansas", }, { "city": "Wilmington", "growth_from_2000_to_2013": "-1.6%", "latitude": 39.7390721, "longitude": -75.5397878, "population": "71525", "rank": "470", "state": "Delaware", }, { "city": "Lynwood", "growth_from_2000_to_2013": "2.0%", "latitude": 33.930293, "longitude": -118.2114603, "population": "71371", "rank": "471", "state": "California", }, { "city": "Loveland", "growth_from_2000_to_2013": "37.4%", "latitude": 40.3977612, "longitude": -105.0749801, "population": "71334", "rank": "472", "state": "Colorado", }, { "city": "Pawtucket", "growth_from_2000_to_2013": "-2.5%", "latitude": 41.878711, "longitude": -71.38255579999999, "population": "71172", "rank": "473", "state": "Rhode Island", }, { "city": "Boynton Beach", "growth_from_2000_to_2013": "17.3%", "latitude": 26.5317866, "longitude": -80.0905465, "population": "71097", "rank": "474", "state": "Florida", }, { "city": "Waukesha", "growth_from_2000_to_2013": "8.0%", "latitude": 43.0116784, "longitude": -88.2314813, "population": "71016", "rank": "475", "state": "Wisconsin", }, { "city": "Gulfport", "growth_from_2000_to_2013": "-0.6%", "latitude": 30.3674198, "longitude": -89.0928155, "population": "71012", "rank": "476", "state": "Mississippi", }, { "city": "Apple Valley", "growth_from_2000_to_2013": "29.9%", "latitude": 34.5008311, "longitude": -117.1858759, "population": "70924", "rank": "477", "state": "California", }, { "city": "Passaic", "growth_from_2000_to_2013": "4.3%", "latitude": 40.8567662, "longitude": -74.1284764, "population": "70868", "rank": "478", "state": "New Jersey", }, { "city": "Rapid City", "growth_from_2000_to_2013": "17.9%", "latitude": 44.0805434, "longitude": -103.2310149, "population": "70812", "rank": "479", "state": "South Dakota", }, { "city": "Layton", "growth_from_2000_to_2013": "20.2%", "latitude": 41.0602216, "longitude": -111.9710529, "population": "70790", "rank": "480", "state": "Utah", }, { "city": "Lafayette", "growth_from_2000_to_2013": "14.5%", "latitude": 40.4167022, "longitude": -86.87528689999999, "population": "70373", "rank": "481", "state": "Indiana", }, { "city": "Turlock", "growth_from_2000_to_2013": "23.5%", "latitude": 37.4946568, "longitude": -120.8465941, "population": "70365", "rank": "482", "state": "California", }, { "city": "Muncie", "growth_from_2000_to_2013": "-0.7%", "latitude": 40.1933767, "longitude": -85.3863599, "population": "70316", "rank": "483", "state": "Indiana", }, { "city": "Temple", "growth_from_2000_to_2013": "27.1%", "latitude": 31.0982344, "longitude": -97.342782, "population": "70190", "rank": "484", "state": "Texas", }, { "city": "Missouri City", "growth_from_2000_to_2013": "31.1%", "latitude": 29.6185669, "longitude": -95.5377215, "population": "70185", "rank": "485", "state": "Texas", }, { "city": "Redlands", "growth_from_2000_to_2013": "9.4%", "latitude": 34.0555693, "longitude": -117.1825381, "population": "69999", "rank": "486", "state": "California", }, { "city": "Santa Fe", "growth_from_2000_to_2013": "10.5%", "latitude": 35.6869752, "longitude": -105.937799, "population": "69976", "rank": "487", "state": "New Mexico", }, { "city": "Lauderhill", "growth_from_2000_to_2013": "4.2%", "latitude": 26.1403635, "longitude": -80.2133808, "population": "69813", "rank": "488", "state": "Florida", }, { "city": "Milpitas", "growth_from_2000_to_2013": "11.0%", "latitude": 37.4323341, "longitude": -121.8995741, "population": "69783", "rank": "489", "state": "California", }, { "city": "Palatine", "growth_from_2000_to_2013": "4.5%", "latitude": 42.1103041, "longitude": -88.03424000000001, "population": "69350", "rank": "490", "state": "Illinois", }, { "city": "Missoula", "growth_from_2000_to_2013": "19.7%", "latitude": 46.87871759999999, "longitude": -113.996586, "population": "69122", "rank": "491", "state": "Montana", }, { "city": "Rock Hill", "growth_from_2000_to_2013": "36.0%", "latitude": 34.9248667, "longitude": -81.02507840000001, "population": "69103", "rank": "492", "state": "South Carolina", }, { "city": "Jacksonville", "growth_from_2000_to_2013": "5.0%", "latitude": 34.7540524, "longitude": -77.4302414, "population": "69079", "rank": "493", "state": "North Carolina", }, { "city": "Franklin", "growth_from_2000_to_2013": "48.5%", "latitude": 35.9250637, "longitude": -86.8688899, "population": "68886", "rank": "494", "state": "Tennessee", }, { "city": "Flagstaff", "growth_from_2000_to_2013": "29.3%", "latitude": 35.1982836, "longitude": -111.651302, "population": "68667", "rank": "495", "state": "Arizona", }, { "city": "Flower Mound", "growth_from_2000_to_2013": "32.5%", "latitude": 33.0145673, "longitude": -97.0969552, "population": "68609", "rank": "496", "state": "Texas", }, { "city": "Weston", "growth_from_2000_to_2013": "34.5%", "latitude": 26.1003654, "longitude": -80.3997748, "population": "68388", "rank": "497", "state": "Florida", }, { "city": "Waterloo", "growth_from_2000_to_2013": "-0.5%", "latitude": 42.492786, "longitude": -92.34257749999999, "population": "68366", "rank": "498", "state": "Iowa", }, { "city": "Union City", "growth_from_2000_to_2013": "1.7%", "latitude": 40.6975898, "longitude": -74.26316349999999, "population": "68247", "rank": "499", "state": "New Jersey", }, { "city": "Mount Vernon", "growth_from_2000_to_2013": "-0.2%", "latitude": 40.9125992, "longitude": -73.8370786, "population": "68224", "rank": "500", "state": "New York", }, { "city": "Fort Myers", "growth_from_2000_to_2013": "31.2%", "latitude": 26.640628, "longitude": -81.8723084, "population": "68190", "rank": "501", "state": "Florida", }, { "city": "Dothan", "growth_from_2000_to_2013": "16.6%", "latitude": 31.2232313, "longitude": -85.3904888, "population": "68001", "rank": "502", "state": "Alabama", }, { "city": "Rancho Cordova", "growth_from_2000_to_2013": "26.4%", "latitude": 38.5890723, "longitude": -121.302728, "population": "67911", "rank": "503", "state": "California", }, { "city": "Redondo Beach", "growth_from_2000_to_2013": "6.7%", "latitude": 33.8491816, "longitude": -118.3884078, "population": "67815", "rank": "504", "state": "California", }, { "city": "Jackson", "growth_from_2000_to_2013": "12.9%", "latitude": 35.6145169, "longitude": -88.81394689999999, "population": "67685", "rank": "505", "state": "Tennessee", }, { "city": "Pasco", "growth_from_2000_to_2013": "98.5%", "latitude": 46.2395793, "longitude": -119.1005657, "population": "67599", "rank": "506", "state": "Washington", }, { "city": "St. Charles", "growth_from_2000_to_2013": "11.3%", "latitude": 38.7881062, "longitude": -90.4974359, "population": "67569", "rank": "507", "state": "Missouri", }, { "city": "Eau Claire", "growth_from_2000_to_2013": "8.7%", "latitude": 44.811349, "longitude": -91.4984941, "population": "67545", "rank": "508", "state": "Wisconsin", }, { "city": "North Richland Hills", "growth_from_2000_to_2013": "20.2%", "latitude": 32.8342952, "longitude": -97.2289029, "population": "67317", "rank": "509", "state": "Texas", }, { "city": "Bismarck", "growth_from_2000_to_2013": "20.1%", "latitude": 46.8083268, "longitude": -100.7837392, "population": "67034", "rank": "510", "state": "North Dakota", }, { "city": "Yorba Linda", "growth_from_2000_to_2013": "13.4%", "latitude": 33.8886259, "longitude": -117.8131125, "population": "67032", "rank": "511", "state": "California", }, { "city": "Kenner", "growth_from_2000_to_2013": "-4.8%", "latitude": 29.9940924, "longitude": -90.2417434, "population": "66975", "rank": "512", "state": "Louisiana", }, { "city": "Walnut Creek", "growth_from_2000_to_2013": "3.5%", "latitude": 37.9100783, "longitude": -122.0651819, "population": "66900", "rank": "513", "state": "California", }, { "city": "Frederick", "growth_from_2000_to_2013": "25.9%", "latitude": 39.41426879999999, "longitude": -77.4105409, "population": "66893", "rank": "514", "state": "Maryland", }, { "city": "Oshkosh", "growth_from_2000_to_2013": "5.3%", "latitude": 44.0247062, "longitude": -88.5426136, "population": "66778", "rank": "515", "state": "Wisconsin", }, { "city": "Pittsburg", "growth_from_2000_to_2013": "16.6%", "latitude": 38.0279762, "longitude": -121.8846806, "population": "66695", "rank": "516", "state": "California", }, { "city": "Palo Alto", "growth_from_2000_to_2013": "13.7%", "latitude": 37.4418834, "longitude": -122.1430195, "population": "66642", "rank": "517", "state": "California", }, { "city": "Bossier City", "growth_from_2000_to_2013": "17.4%", "latitude": 32.5159852, "longitude": -93.7321228, "population": "66333", "rank": "518", "state": "Louisiana", }, { "city": "Portland", "growth_from_2000_to_2013": "3.2%", "latitude": 43.66147100000001, "longitude": -70.2553259, "population": "66318", "rank": "519", "state": "Maine", }, { "city": "St. Cloud", "growth_from_2000_to_2013": "10.9%", "latitude": 45.5579451, "longitude": -94.16324039999999, "population": "66297", "rank": "520", "state": "Minnesota", }, { "city": "Davis", "growth_from_2000_to_2013": "11.9%", "latitude": 38.5449065, "longitude": -121.7405167, "population": "66205", "rank": "521", "state": "California", }, { "city": "South San Francisco", "growth_from_2000_to_2013": "9.1%", "latitude": 37.654656, "longitude": -122.4077498, "population": "66174", "rank": "522", "state": "California", }, { "city": "Camarillo", "growth_from_2000_to_2013": "14.9%", "latitude": 34.2163937, "longitude": -119.0376023, "population": "66086", "rank": "523", "state": "California", }, { "city": "North Little Rock", "growth_from_2000_to_2013": "9.0%", "latitude": 34.769536, "longitude": -92.2670941, "population": "66075", "rank": "524", "state": "Arkansas", }, { "city": "Schenectady", "growth_from_2000_to_2013": "6.7%", "latitude": 42.8142432, "longitude": -73.9395687, "population": "65902", "rank": "525", "state": "New York", }, { "city": "Gaithersburg", "growth_from_2000_to_2013": "24.2%", "latitude": 39.1434406, "longitude": -77.2013705, "population": "65690", "rank": "526", "state": "Maryland", }, { "city": "Harlingen", "growth_from_2000_to_2013": "11.6%", "latitude": 26.1906306, "longitude": -97.69610259999999, "population": "65665", "rank": "527", "state": "Texas", }, { "city": "Woodbury", "growth_from_2000_to_2013": "39.8%", "latitude": 44.9238552, "longitude": -92.9593797, "population": "65656", "rank": "528", "state": "Minnesota", }, { "city": "Eagan", "growth_from_2000_to_2013": "2.6%", "latitude": 44.8041322, "longitude": -93.1668858, "population": "65453", "rank": "529", "state": "Minnesota", }, { "city": "Yuba City", "growth_from_2000_to_2013": "27.9%", "latitude": 39.1404477, "longitude": -121.6169108, "population": "65416", "rank": "530", "state": "California", }, { "city": "Maple Grove", "growth_from_2000_to_2013": "27.3%", "latitude": 45.0724642, "longitude": -93.4557877, "population": "65415", "rank": "531", "state": "Minnesota", }, { "city": "Youngstown", "growth_from_2000_to_2013": "-20.2%", "latitude": 41.0997803, "longitude": -80.6495194, "population": "65184", "rank": "532", "state": "Ohio", }, { "city": "Skokie", "growth_from_2000_to_2013": "2.8%", "latitude": 42.0324025, "longitude": -87.7416246, "population": "65176", "rank": "533", "state": "Illinois", }, { "city": "Kissimmee", "growth_from_2000_to_2013": "32.6%", "latitude": 28.2919557, "longitude": -81.40757099999999, "population": "65173", "rank": "534", "state": "Florida", }, { "city": "Johnson City", "growth_from_2000_to_2013": "16.2%", "latitude": 36.3134397, "longitude": -82.3534727, "population": "65123", "rank": "535", "state": "Tennessee", }, { "city": "Victoria", "growth_from_2000_to_2013": "7.5%", "latitude": 28.8052674, "longitude": -97.0035982, "population": "65098", "rank": "536", "state": "Texas", }, { "city": "San Clemente", "growth_from_2000_to_2013": "28.6%", "latitude": 33.4269728, "longitude": -117.6119925, "population": "65040", "rank": "537", "state": "California", }, { "city": "Bayonne", "growth_from_2000_to_2013": "5.1%", "latitude": 40.6687141, "longitude": -74.1143091, "population": "65028", "rank": "538", "state": "New Jersey", }, { "city": "Laguna Niguel", "growth_from_2000_to_2013": "2.8%", "latitude": 33.5225261, "longitude": -117.7075526, "population": "64652", "rank": "539", "state": "California", }, { "city": "East Orange", "growth_from_2000_to_2013": "-7.4%", "latitude": 40.767323, "longitude": -74.2048677, "population": "64544", "rank": "540", "state": "New Jersey", }, { "city": "Shawnee", "growth_from_2000_to_2013": "32.2%", "latitude": 39.02284849999999, "longitude": -94.7151865, "population": "64323", "rank": "541", "state": "Kansas", }, { "city": "Homestead", "growth_from_2000_to_2013": "100.7%", "latitude": 25.4687224, "longitude": -80.4775569, "population": "64079", "rank": "542", "state": "Florida", }, { "city": "Rockville", "growth_from_2000_to_2013": "34.0%", "latitude": 39.0839973, "longitude": -77.1527578, "population": "64072", "rank": "544", "state": "Maryland", }, { "city": "Delray Beach", "growth_from_2000_to_2013": "6.1%", "latitude": 26.4614625, "longitude": -80.0728201, "population": "64072", "rank": "543", "state": "Florida", }, { "city": "Janesville", "growth_from_2000_to_2013": "5.6%", "latitude": 42.6827885, "longitude": -89.0187222, "population": "63820", "rank": "545", "state": "Wisconsin", }, { "city": "Conway", "growth_from_2000_to_2013": "46.1%", "latitude": 35.0886963, "longitude": -92.4421011, "population": "63816", "rank": "546", "state": "Arkansas", }, { "city": "Pico Rivera", "growth_from_2000_to_2013": "0.4%", "latitude": 33.9830688, "longitude": -118.096735, "population": "63771", "rank": "547", "state": "California", }, { "city": "Lorain", "growth_from_2000_to_2013": "-7.2%", "latitude": 41.452819, "longitude": -82.1823746, "population": "63710", "rank": "548", "state": "Ohio", }, { "city": "Montebello", "growth_from_2000_to_2013": "2.0%", "latitude": 34.0165053, "longitude": -118.1137535, "population": "63495", "rank": "549", "state": "California", }, { "city": "Lodi", "growth_from_2000_to_2013": "10.1%", "latitude": 38.1341477, "longitude": -121.2722194, "population": "63338", "rank": "550", "state": "California", }, { "city": "New Braunfels", "growth_from_2000_to_2013": "64.0%", "latitude": 29.7030024, "longitude": -98.1244531, "population": "63279", "rank": "551", "state": "Texas", }, { "city": "Marysville", "growth_from_2000_to_2013": "115.7%", "latitude": 48.0517637, "longitude": -122.1770818, "population": "63269", "rank": "552", "state": "Washington", }, { "city": "Tamarac", "growth_from_2000_to_2013": "12.9%", "latitude": 26.2128609, "longitude": -80.2497707, "population": "63155", "rank": "553", "state": "Florida", }, { "city": "Madera", "growth_from_2000_to_2013": "44.4%", "latitude": 36.9613356, "longitude": -120.0607176, "population": "63105", "rank": "554", "state": "California", }, { "city": "Conroe", "growth_from_2000_to_2013": "61.9%", "latitude": 30.3118769, "longitude": -95.45605119999999, "population": "63032", "rank": "555", "state": "Texas", }, { "city": "Santa Cruz", "growth_from_2000_to_2013": "12.5%", "latitude": 36.9741171, "longitude": -122.0307963, "population": "62864", "rank": "556", "state": "California", }, { "city": "Eden Prairie", "growth_from_2000_to_2013": "13.3%", "latitude": 44.8546856, "longitude": -93.47078599999999, "population": "62603", "rank": "557", "state": "Minnesota", }, { "city": "Cheyenne", "growth_from_2000_to_2013": "16.9%", "latitude": 41.1399814, "longitude": -104.8202462, "population": "62448", "rank": "558", "state": "Wyoming", }, { "city": "Daytona Beach", "growth_from_2000_to_2013": "-2.3%", "latitude": 29.2108147, "longitude": -81.0228331, "population": "62316", "rank": "559", "state": "Florida", }, { "city": "Alpharetta", "growth_from_2000_to_2013": "33.6%", "latitude": 34.0753762, "longitude": -84.2940899, "population": "62298", "rank": "560", "state": "Georgia", }, { "city": "Hamilton", "growth_from_2000_to_2013": "2.7%", "latitude": 39.3995008, "longitude": -84.5613355, "population": "62258", "rank": "561", "state": "Ohio", }, { "city": "Waltham", "growth_from_2000_to_2013": "5.0%", "latitude": 42.3764852, "longitude": -71.2356113, "population": "62227", "rank": "562", "state": "Massachusetts", }, { "city": "Coon Rapids", "growth_from_2000_to_2013": "0.6%", "latitude": 45.1732394, "longitude": -93.30300629999999, "population": "62103", "rank": "563", "state": "Minnesota", }, { "city": "Haverhill", "growth_from_2000_to_2013": "5.0%", "latitude": 42.7762015, "longitude": -71.0772796, "population": "62088", "rank": "564", "state": "Massachusetts", }, { "city": "Council Bluffs", "growth_from_2000_to_2013": "6.2%", "latitude": 41.2619444, "longitude": -95.8608333, "population": "61969", "rank": "565", "state": "Iowa", }, { "city": "Taylor", "growth_from_2000_to_2013": "-6.3%", "latitude": 42.240872, "longitude": -83.2696509, "population": "61817", "rank": "566", "state": "Michigan", }, { "city": "Utica", "growth_from_2000_to_2013": "2.2%", "latitude": 43.100903, "longitude": -75.232664, "population": "61808", "rank": "567", "state": "New York", }, { "city": "Ames", "growth_from_2000_to_2013": "21.3%", "latitude": 42.034722, "longitude": -93.61999999999999, "population": "61792", "rank": "568", "state": "Iowa", }, { "city": "La Habra", "growth_from_2000_to_2013": "3.6%", "latitude": 33.9319578, "longitude": -117.9461734, "population": "61653", "rank": "569", "state": "California", }, { "city": "Encinitas", "growth_from_2000_to_2013": "5.8%", "latitude": 33.0369867, "longitude": -117.2919818, "population": "61588", "rank": "570", "state": "California", }, { "city": "Bowling Green", "growth_from_2000_to_2013": "24.1%", "latitude": 36.9685219, "longitude": -86.4808043, "population": "61488", "rank": "571", "state": "Kentucky", }, { "city": "Burnsville", "growth_from_2000_to_2013": "1.9%", "latitude": 44.7677424, "longitude": -93.27772259999999, "population": "61434", "rank": "572", "state": "Minnesota", }, { "city": "Greenville", "growth_from_2000_to_2013": "8.2%", "latitude": 34.85261759999999, "longitude": -82.3940104, "population": "61397", "rank": "573", "state": "South Carolina", }, { "city": "West Des Moines", "growth_from_2000_to_2013": "29.8%", "latitude": 41.5772115, "longitude": -93.711332, "population": "61255", "rank": "574", "state": "Iowa", }, { "city": "Cedar Park", "growth_from_2000_to_2013": "134.3%", "latitude": 30.505198, "longitude": -97.8202888, "population": "61238", "rank": "575", "state": "Texas", }, { "city": "Tulare", "growth_from_2000_to_2013": "33.3%", "latitude": 36.2077288, "longitude": -119.3473379, "population": "61170", "rank": "576", "state": "California", }, { "city": "Monterey Park", "growth_from_2000_to_2013": "1.5%", "latitude": 34.0625106, "longitude": -118.1228476, "population": "61085", "rank": "577", "state": "California", }, { "city": "Vineland", "growth_from_2000_to_2013": "9.3%", "latitude": 39.4863773, "longitude": -75.02596369999999, "population": "61050", "rank": "578", "state": "New Jersey", }, { "city": "Terre Haute", "growth_from_2000_to_2013": "2.5%", "latitude": 39.4667034, "longitude": -87.41390919999999, "population": "61025", "rank": "579", "state": "Indiana", }, { "city": "North Miami", "growth_from_2000_to_2013": "2.0%", "latitude": 25.8900949, "longitude": -80.1867138, "population": "61007", "rank": "580", "state": "Florida", }, { "city": "Mansfield", "growth_from_2000_to_2013": "114.2%", "latitude": 32.5631924, "longitude": -97.1416768, "population": "60872", "rank": "581", "state": "Texas", }, { "city": "West Allis", "growth_from_2000_to_2013": "-0.6%", "latitude": 43.0166806, "longitude": -88.0070315, "population": "60697", "rank": "582", "state": "Wisconsin", }, { "city": "Bristol", "growth_from_2000_to_2013": "0.4%", "latitude": 41.67176480000001, "longitude": -72.9492703, "population": "60568", "rank": "583", "state": "Connecticut", }, { "city": "Taylorsville", "growth_from_2000_to_2013": "2.9%", "latitude": 40.66772479999999, "longitude": -111.9388258, "population": "60519", "rank": "584", "state": "Utah", }, { "city": "Malden", "growth_from_2000_to_2013": "7.4%", "latitude": 42.4250964, "longitude": -71.066163, "population": "60509", "rank": "585", "state": "Massachusetts", }, { "city": "Meriden", "growth_from_2000_to_2013": "3.7%", "latitude": 41.5381535, "longitude": -72.80704349999999, "population": "60456", "rank": "586", "state": "Connecticut", }, { "city": "Blaine", "growth_from_2000_to_2013": "32.8%", "latitude": 45.1607987, "longitude": -93.23494889999999, "population": "60407", "rank": "587", "state": "Minnesota", }, { "city": "Wellington", "growth_from_2000_to_2013": "55.0%", "latitude": 26.6617635, "longitude": -80.2683571, "population": "60202", "rank": "588", "state": "Florida", }, { "city": "Cupertino", "growth_from_2000_to_2013": "14.3%", "latitude": 37.3229978, "longitude": -122.0321823, "population": "60189", "rank": "589", "state": "California", }, { "city": "Springfield", "growth_from_2000_to_2013": "12.4%", "latitude": 44.0462362, "longitude": -123.0220289, "population": "60177", "rank": "590", "state": "Oregon", }, { "city": "Rogers", "growth_from_2000_to_2013": "50.6%", "latitude": 36.3320196, "longitude": -94.1185366, "population": "60112", "rank": "591", "state": "Arkansas", }, { "city": "St. Clair Shores", "growth_from_2000_to_2013": "-4.6%", "latitude": 42.4974085, "longitude": -82.89636039999999, "population": "60070", "rank": "592", "state": "Michigan", }, { "city": "Gardena", "growth_from_2000_to_2013": "3.4%", "latitude": 33.8883487, "longitude": -118.3089624, "population": "59957", "rank": "593", "state": "California", }, { "city": "Pontiac", "growth_from_2000_to_2013": "-11.4%", "latitude": 42.6389216, "longitude": -83.29104679999999, "population": "59887", "rank": "594", "state": "Michigan", }, { "city": "National City", "growth_from_2000_to_2013": "10.1%", "latitude": 32.6781085, "longitude": -117.0991967, "population": "59834", "rank": "595", "state": "California", }, { "city": "Grand Junction", "growth_from_2000_to_2013": "30.9%", "latitude": 39.0638705, "longitude": -108.5506486, "population": "59778", "rank": "596", "state": "Colorado", }, { "city": "Rocklin", "growth_from_2000_to_2013": "60.3%", "latitude": 38.7907339, "longitude": -121.2357828, "population": "59738", "rank": "597", "state": "California", }, { "city": "Chapel Hill", "growth_from_2000_to_2013": "24.1%", "latitude": 35.9131996, "longitude": -79.0558445, "population": "59635", "rank": "598", "state": "North Carolina", }, { "city": "Casper", "growth_from_2000_to_2013": "19.9%", "latitude": 42.866632, "longitude": -106.313081, "population": "59628", "rank": "599", "state": "Wyoming", }, { "city": "Broomfield", "growth_from_2000_to_2013": "50.3%", "latitude": 39.9205411, "longitude": -105.0866504, "population": "59471", "rank": "600", "state": "Colorado", }, { "city": "Petaluma", "growth_from_2000_to_2013": "8.4%", "latitude": 38.232417, "longitude": -122.6366524, "population": "59440", "rank": "601", "state": "California", }, { "city": "South Jordan", "growth_from_2000_to_2013": "100.1%", "latitude": 40.5621704, "longitude": -111.929658, "population": "59366", "rank": "602", "state": "Utah", }, { "city": "Springfield", "growth_from_2000_to_2013": "-9.8%", "latitude": 39.9242266, "longitude": -83.8088171, "population": "59357", "rank": "603", "state": "Ohio", }, { "city": "Great Falls", "growth_from_2000_to_2013": "3.9%", "latitude": 47.4941836, "longitude": -111.2833449, "population": "59351", "rank": "604", "state": "Montana", }, { "city": "Lancaster", "growth_from_2000_to_2013": "4.5%", "latitude": 40.0378755, "longitude": -76.3055144, "population": "59325", "rank": "605", "state": "Pennsylvania", }, { "city": "North Port", "growth_from_2000_to_2013": "154.6%", "latitude": 27.044224, "longitude": -82.2359254, "population": "59212", "rank": "606", "state": "Florida", }, { "city": "Lakewood", "growth_from_2000_to_2013": "1.1%", "latitude": 47.1717649, "longitude": -122.518458, "population": "59097", "rank": "607", "state": "Washington", }, { "city": "Marietta", "growth_from_2000_to_2013": "-3.8%", "latitude": 33.95260200000001, "longitude": -84.5499327, "population": "59089", "rank": "608", "state": "Georgia", }, { "city": "San Rafael", "growth_from_2000_to_2013": "5.0%", "latitude": 37.9735346, "longitude": -122.5310874, "population": "58994", "rank": "609", "state": "California", }, { "city": "Royal Oak", "growth_from_2000_to_2013": "-1.7%", "latitude": 42.4894801, "longitude": -83.1446485, "population": "58946", "rank": "610", "state": "Michigan", }, { "city": "Des Plaines", "growth_from_2000_to_2013": "3.2%", "latitude": 42.0333623, "longitude": -87.88339909999999, "population": "58918", "rank": "611", "state": "Illinois", }, { "city": "Huntington Park", "growth_from_2000_to_2013": "-4.1%", "latitude": 33.9816812, "longitude": -118.2250725, "population": "58879", "rank": "612", "state": "California", }, { "city": "La Mesa", "growth_from_2000_to_2013": "6.9%", "latitude": 32.7678287, "longitude": -117.0230839, "population": "58642", "rank": "613", "state": "California", }, { "city": "Orland Park", "growth_from_2000_to_2013": "13.9%", "latitude": 41.6303103, "longitude": -87.85394250000002, "population": "58590", "rank": "614", "state": "Illinois", }, { "city": "Auburn", "growth_from_2000_to_2013": "26.4%", "latitude": 32.6098566, "longitude": -85.48078249999999, "population": "58582", "rank": "615", "state": "Alabama", }, { "city": "Lakeville", "growth_from_2000_to_2013": "34.3%", "latitude": 44.6496868, "longitude": -93.24271999999999, "population": "58562", "rank": "616", "state": "Minnesota", }, { "city": "Owensboro", "growth_from_2000_to_2013": "7.7%", "latitude": 37.7719074, "longitude": -87.1111676, "population": "58416", "rank": "617", "state": "Kentucky", }, { "city": "Moore", "growth_from_2000_to_2013": "41.5%", "latitude": 35.3395079, "longitude": -97.48670279999999, "population": "58414", "rank": "618", "state": "Oklahoma", }, { "city": "Jupiter", "growth_from_2000_to_2013": "46.2%", "latitude": 26.9342246, "longitude": -80.0942087, "population": "58298", "rank": "619", "state": "Florida", }, { "city": "Idaho Falls", "growth_from_2000_to_2013": "14.0%", "latitude": 43.49165139999999, "longitude": -112.0339645, "population": "58292", "rank": "620", "state": "Idaho", }, { "city": "Dubuque", "growth_from_2000_to_2013": "0.9%", "latitude": 42.5005583, "longitude": -90.66457179999999, "population": "58253", "rank": "621", "state": "Iowa", }, { "city": "Bartlett", "growth_from_2000_to_2013": "31.7%", "latitude": 35.2045328, "longitude": -89.8739753, "population": "58226", "rank": "622", "state": "Tennessee", }, { "city": "Rowlett", "growth_from_2000_to_2013": "28.6%", "latitude": 32.9029017, "longitude": -96.56388, "population": "58043", "rank": "623", "state": "Texas", }, { "city": "Novi", "growth_from_2000_to_2013": "22.0%", "latitude": 42.48059, "longitude": -83.4754913, "population": "57960", "rank": "624", "state": "Michigan", }, { "city": "White Plains", "growth_from_2000_to_2013": "8.5%", "latitude": 41.03398620000001, "longitude": -73.7629097, "population": "57866", "rank": "625", "state": "New York", }, { "city": "Arcadia", "growth_from_2000_to_2013": "8.3%", "latitude": 34.1397292, "longitude": -118.0353449, "population": "57639", "rank": "626", "state": "California", }, { "city": "Redmond", "growth_from_2000_to_2013": "26.0%", "latitude": 47.6739881, "longitude": -122.121512, "population": "57530", "rank": "627", "state": "Washington", }, { "city": "Lake Elsinore", "growth_from_2000_to_2013": "96.5%", "latitude": 33.6680772, "longitude": -117.3272615, "population": "57525", "rank": "628", "state": "California", }, { "city": "Ocala", "growth_from_2000_to_2013": "20.8%", "latitude": 29.1871986, "longitude": -82.14009229999999, "population": "57468", "rank": "629", "state": "Florida", }, { "city": "Tinley Park", "growth_from_2000_to_2013": "16.3%", "latitude": 41.5731442, "longitude": -87.7932939, "population": "57282", "rank": "630", "state": "Illinois", }, { "city": "Port Orange", "growth_from_2000_to_2013": "22.8%", "latitude": 29.1383165, "longitude": -80.9956105, "population": "57203", "rank": "631", "state": "Florida", }, { "city": "Medford", "growth_from_2000_to_2013": "2.7%", "latitude": 42.4184296, "longitude": -71.1061639, "population": "57170", "rank": "632", "state": "Massachusetts", }, { "city": "Oak Lawn", "growth_from_2000_to_2013": "3.3%", "latitude": 41.719978, "longitude": -87.7479528, "population": "57073", "rank": "633", "state": "Illinois", }, { "city": "Rocky Mount", "growth_from_2000_to_2013": "-3.1%", "latitude": 35.9382103, "longitude": -77.7905339, "population": "56954", "rank": "634", "state": "North Carolina", }, { "city": "Kokomo", "growth_from_2000_to_2013": "21.3%", "latitude": 40.486427, "longitude": -86.13360329999999, "population": "56895", "rank": "635", "state": "Indiana", }, { "city": "Coconut Creek", "growth_from_2000_to_2013": "28.4%", "latitude": 26.2517482, "longitude": -80.17893509999999, "population": "56792", "rank": "636", "state": "Florida", }, { "city": "Bowie", "growth_from_2000_to_2013": "8.6%", "latitude": 39.0067768, "longitude": -76.77913649999999, "population": "56759", "rank": "637", "state": "Maryland", }, { "city": "Berwyn", "growth_from_2000_to_2013": "5.1%", "latitude": 41.85058739999999, "longitude": -87.7936685, "population": "56758", "rank": "638", "state": "Illinois", }, { "city": "Midwest City", "growth_from_2000_to_2013": "4.5%", "latitude": 35.4495065, "longitude": -97.3967019, "population": "56756", "rank": "639", "state": "Oklahoma", }, { "city": "Fountain Valley", "growth_from_2000_to_2013": "3.0%", "latitude": 33.7091847, "longitude": -117.9536697, "population": "56707", "rank": "640", "state": "California", }, { "city": "Buckeye", "growth_from_2000_to_2013": "480.9%", "latitude": 33.3703197, "longitude": -112.5837766, "population": "56683", "rank": "641", "state": "Arizona", }, { "city": "Dearborn Heights", "growth_from_2000_to_2013": "-3.0%", "latitude": 42.3369816, "longitude": -83.27326269999999, "population": "56620", "rank": "642", "state": "Michigan", }, { "city": "Woodland", "growth_from_2000_to_2013": "13.8%", "latitude": 38.67851570000001, "longitude": -121.7732971, "population": "56590", "rank": "643", "state": "California", }, { "city": "Noblesville", "growth_from_2000_to_2013": "88.1%", "latitude": 40.0455917, "longitude": -86.0085955, "population": "56540", "rank": "644", "state": "Indiana", }, { "city": "Valdosta", "growth_from_2000_to_2013": "22.3%", "latitude": 30.8327022, "longitude": -83.2784851, "population": "56481", "rank": "645", "state": "Georgia", }, { "city": "Diamond Bar", "growth_from_2000_to_2013": "0.1%", "latitude": 34.0286226, "longitude": -117.8103367, "population": "56449", "rank": "646", "state": "California", }, { "city": "Manhattan", "growth_from_2000_to_2013": "22.8%", "latitude": 39.18360819999999, "longitude": -96.57166939999999, "population": "56143", "rank": "647", "state": "Kansas", }, { "city": "Santee", "growth_from_2000_to_2013": "5.7%", "latitude": 32.8383828, "longitude": -116.9739167, "population": "56105", "rank": "648", "state": "California", }, { "city": "Taunton", "growth_from_2000_to_2013": "0.0%", "latitude": 41.900101, "longitude": -71.0897674, "population": "56069", "rank": "649", "state": "Massachusetts", }, { "city": "Sanford", "growth_from_2000_to_2013": "42.8%", "latitude": 28.8028612, "longitude": -81.269453, "population": "56002", "rank": "650", "state": "Florida", }, { "city": "Kettering", "growth_from_2000_to_2013": "-3.1%", "latitude": 39.68950359999999, "longitude": -84.1688274, "population": "55870", "rank": "651", "state": "Ohio", }, { "city": "New Brunswick", "growth_from_2000_to_2013": "15.5%", "latitude": 40.4862157, "longitude": -74.4518188, "population": "55831", "rank": "652", "state": "New Jersey", }, { "city": "Decatur", "growth_from_2000_to_2013": "3.1%", "latitude": 34.6059253, "longitude": -86.9833417, "population": "55816", "rank": "653", "state": "Alabama", }, { "city": "Chicopee", "growth_from_2000_to_2013": "1.7%", "latitude": 42.1487043, "longitude": -72.6078672, "population": "55717", "rank": "654", "state": "Massachusetts", }, { "city": "Anderson", "growth_from_2000_to_2013": "-6.6%", "latitude": 40.1053196, "longitude": -85.6802541, "population": "55670", "rank": "655", "state": "Indiana", }, { "city": "Margate", "growth_from_2000_to_2013": "2.7%", "latitude": 26.2445263, "longitude": -80.206436, "population": "55456", "rank": "656", "state": "Florida", }, { "city": "Weymouth Town", "growth_from_2000_to_2013": "", "latitude": 42.2180724, "longitude": -70.94103559999999, "population": "55419", "rank": "657", "state": "Massachusetts", }, { "city": "Hempstead", "growth_from_2000_to_2013": "4.0%", "latitude": 40.7062128, "longitude": -73.6187397, "population": "55361", "rank": "658", "state": "New York", }, { "city": "Corvallis", "growth_from_2000_to_2013": "11.8%", "latitude": 44.5645659, "longitude": -123.2620435, "population": "55298", "rank": "659", "state": "Oregon", }, { "city": "Eastvale", "growth_from_2000_to_2013": "", "latitude": 33.952463, "longitude": -117.5848025, "population": "55191", "rank": "660", "state": "California", }, { "city": "Porterville", "growth_from_2000_to_2013": "20.1%", "latitude": 36.06523, "longitude": -119.0167679, "population": "55174", "rank": "661", "state": "California", }, { "city": "West Haven", "growth_from_2000_to_2013": "5.1%", "latitude": 41.2705484, "longitude": -72.9469711, "population": "55046", "rank": "662", "state": "Connecticut", }, { "city": "Brentwood", "growth_from_2000_to_2013": "122.3%", "latitude": 37.931868, "longitude": -121.6957863, "population": "55000", "rank": "663", "state": "California", }, { "city": "Paramount", "growth_from_2000_to_2013": "-0.7%", "latitude": 33.8894598, "longitude": -118.1597911, "population": "54980", "rank": "664", "state": "California", }, { "city": "Grand Forks", "growth_from_2000_to_2013": "11.5%", "latitude": 47.9252568, "longitude": -97.0328547, "population": "54932", "rank": "665", "state": "North Dakota", }, { "city": "Georgetown", "growth_from_2000_to_2013": "91.9%", "latitude": 30.6332618, "longitude": -97.6779842, "population": "54898", "rank": "666", "state": "Texas", }, { "city": "St. Peters", "growth_from_2000_to_2013": "6.5%", "latitude": 38.7874699, "longitude": -90.6298922, "population": "54842", "rank": "667", "state": "Missouri", }, { "city": "Shoreline", "growth_from_2000_to_2013": "2.9%", "latitude": 47.7556531, "longitude": -122.3415178, "population": "54790", "rank": "668", "state": "Washington", }, { "city": "Mount Prospect", "growth_from_2000_to_2013": "-2.5%", "latitude": 42.0664167, "longitude": -87.9372908, "population": "54771", "rank": "669", "state": "Illinois", }, { "city": "Hanford", "growth_from_2000_to_2013": "30.3%", "latitude": 36.3274502, "longitude": -119.6456844, "population": "54686", "rank": "670", "state": "California", }, { "city": "Normal", "growth_from_2000_to_2013": "19.7%", "latitude": 40.5142026, "longitude": -88.9906312, "population": "54664", "rank": "671", "state": "Illinois", }, { "city": "Rosemead", "growth_from_2000_to_2013": "1.7%", "latitude": 34.0805651, "longitude": -118.072846, "population": "54561", "rank": "672", "state": "California", }, { "city": "Lehi", "growth_from_2000_to_2013": "176.3%", "latitude": 40.3916172, "longitude": -111.8507662, "population": "54382", "rank": "673", "state": "Utah", }, { "city": "Pocatello", "growth_from_2000_to_2013": "5.4%", "latitude": 42.8713032, "longitude": -112.4455344, "population": "54350", "rank": "674", "state": "Idaho", }, { "city": "Highland", "growth_from_2000_to_2013": "21.0%", "latitude": 34.1283442, "longitude": -117.2086513, "population": "54291", "rank": "675", "state": "California", }, { "city": "Novato", "growth_from_2000_to_2013": "13.3%", "latitude": 38.1074198, "longitude": -122.5697032, "population": "54194", "rank": "676", "state": "California", }, { "city": "Port Arthur", "growth_from_2000_to_2013": "-6.0%", "latitude": 29.8849504, "longitude": -93.93994699999999, "population": "54135", "rank": "677", "state": "Texas", }, { "city": "Carson City", "growth_from_2000_to_2013": "2.9%", "latitude": 39.1637984, "longitude": -119.7674034, "population": "54080", "rank": "678", "state": "Nevada", }, { "city": "San Marcos", "growth_from_2000_to_2013": "48.5%", "latitude": 29.8832749, "longitude": -97.9413941, "population": "54076", "rank": "679", "state": "Texas", }, { "city": "Hendersonville", "growth_from_2000_to_2013": "31.7%", "latitude": 36.3047735, "longitude": -86.6199957, "population": "54068", "rank": "680", "state": "Tennessee", }, { "city": "Elyria", "growth_from_2000_to_2013": "-3.7%", "latitude": 41.3683798, "longitude": -82.10764859999999, "population": "53956", "rank": "681", "state": "Ohio", }, { "city": "Revere", "growth_from_2000_to_2013": "13.4%", "latitude": 42.4084302, "longitude": -71.0119948, "population": "53756", "rank": "682", "state": "Massachusetts", }, { "city": "Pflugerville", "growth_from_2000_to_2013": "123.4%", "latitude": 30.4393696, "longitude": -97.62000429999999, "population": "53752", "rank": "683", "state": "Texas", }, { "city": "Greenwood", "growth_from_2000_to_2013": "46.0%", "latitude": 39.6136578, "longitude": -86.10665259999999, "population": "53665", "rank": "684", "state": "Indiana", }, { "city": "Bellevue", "growth_from_2000_to_2013": "20.5%", "latitude": 41.1543623, "longitude": -95.9145568, "population": "53663", "rank": "685", "state": "Nebraska", }, { "city": "Wheaton", "growth_from_2000_to_2013": "-3.4%", "latitude": 41.8661403, "longitude": -88.1070127, "population": "53648", "rank": "686", "state": "Illinois", }, { "city": "Smyrna", "growth_from_2000_to_2013": "20.0%", "latitude": 33.8839926, "longitude": -84.51437609999999, "population": "53438", "rank": "687", "state": "Georgia", }, { "city": "Sarasota", "growth_from_2000_to_2013": "1.4%", "latitude": 27.3364347, "longitude": -82.53065269999999, "population": "53326", "rank": "688", "state": "Florida", }, { "city": "Blue Springs", "growth_from_2000_to_2013": "9.9%", "latitude": 39.0169509, "longitude": -94.2816148, "population": "53294", "rank": "689", "state": "Missouri", }, { "city": "Colton", "growth_from_2000_to_2013": "10.8%", "latitude": 34.0739016, "longitude": -117.3136547, "population": "53243", "rank": "690", "state": "California", }, { "city": "Euless", "growth_from_2000_to_2013": "15.1%", "latitude": 32.8370727, "longitude": -97.08195409999999, "population": "53224", "rank": "691", "state": "Texas", }, { "city": "Castle Rock", "growth_from_2000_to_2013": "153.5%", "latitude": 39.3722121, "longitude": -104.8560902, "population": "53063", "rank": "692", "state": "Colorado", }, { "city": "Cathedral City", "growth_from_2000_to_2013": "23.2%", "latitude": 33.7805388, "longitude": -116.4668036, "population": "52977", "rank": "693", "state": "California", }, { "city": "Kingsport", "growth_from_2000_to_2013": "16.7%", "latitude": 36.548434, "longitude": -82.5618186, "population": "52962", "rank": "694", "state": "Tennessee", }, { "city": "Lake Havasu City", "growth_from_2000_to_2013": "24.6%", "latitude": 34.483901, "longitude": -114.3224548, "population": "52844", "rank": "695", "state": "Arizona", }, { "city": "Pensacola", "growth_from_2000_to_2013": "-6.0%", "latitude": 30.42130899999999, "longitude": -87.2169149, "population": "52703", "rank": "696", "state": "Florida", }, { "city": "Hoboken", "growth_from_2000_to_2013": "35.8%", "latitude": 40.7439905, "longitude": -74.0323626, "population": "52575", "rank": "697", "state": "New Jersey", }, { "city": "Yucaipa", "growth_from_2000_to_2013": "26.8%", "latitude": 34.033625, "longitude": -117.0430865, "population": "52536", "rank": "698", "state": "California", }, { "city": "Watsonville", "growth_from_2000_to_2013": "12.7%", "latitude": 36.910231, "longitude": -121.7568946, "population": "52477", "rank": "699", "state": "California", }, { "city": "Richland", "growth_from_2000_to_2013": "34.6%", "latitude": 46.2856907, "longitude": -119.2844621, "population": "52413", "rank": "700", "state": "Washington", }, { "city": "Delano", "growth_from_2000_to_2013": "31.8%", "latitude": 35.7688425, "longitude": -119.2470536, "population": "52403", "rank": "701", "state": "California", }, { "city": "Hoffman Estates", "growth_from_2000_to_2013": "5.4%", "latitude": 42.0629915, "longitude": -88.12271989999999, "population": "52398", "rank": "702", "state": "Illinois", }, { "city": "Florissant", "growth_from_2000_to_2013": "-2.8%", "latitude": 38.789217, "longitude": -90.322614, "population": "52363", "rank": "703", "state": "Missouri", }, { "city": "Placentia", "growth_from_2000_to_2013": "11.8%", "latitude": 33.8722371, "longitude": -117.8703363, "population": "52206", "rank": "704", "state": "California", }, { "city": "West New York", "growth_from_2000_to_2013": "13.3%", "latitude": 40.7878788, "longitude": -74.0143064, "population": "52122", "rank": "705", "state": "New Jersey", }, { "city": "Dublin", "growth_from_2000_to_2013": "70.0%", "latitude": 37.7021521, "longitude": -121.9357918, "population": "52105", "rank": "706", "state": "California", }, { "city": "Oak Park", "growth_from_2000_to_2013": "-0.8%", "latitude": 41.8850317, "longitude": -87.7845025, "population": "52066", "rank": "707", "state": "Illinois", }, { "city": "Peabody", "growth_from_2000_to_2013": "7.5%", "latitude": 42.5278731, "longitude": -70.9286609, "population": "52044", "rank": "708", "state": "Massachusetts", }, { "city": "Perth Amboy", "growth_from_2000_to_2013": "9.7%", "latitude": 40.5067723, "longitude": -74.2654234, "population": "51982", "rank": "709", "state": "New Jersey", }, { "city": "Battle Creek", "growth_from_2000_to_2013": "-2.8%", "latitude": 42.3211522, "longitude": -85.17971419999999, "population": "51848", "rank": "710", "state": "Michigan", }, { "city": "Bradenton", "growth_from_2000_to_2013": "3.4%", "latitude": 27.4989278, "longitude": -82.5748194, "population": "51763", "rank": "711", "state": "Florida", }, { "city": "Gilroy", "growth_from_2000_to_2013": "23.9%", "latitude": 37.0057816, "longitude": -121.5682751, "population": "51701", "rank": "712", "state": "California", }, { "city": "Milford", "growth_from_2000_to_2013": "1.8%", "latitude": 41.2306979, "longitude": -73.064036, "population": "51644", "rank": "713", "state": "Connecticut", }, { "city": "Albany", "growth_from_2000_to_2013": "25.5%", "latitude": 44.6365107, "longitude": -123.1059282, "population": "51583", "rank": "714", "state": "Oregon", }, { "city": "Ankeny", "growth_from_2000_to_2013": "86.9%", "latitude": 41.7317884, "longitude": -93.6001278, "population": "51567", "rank": "715", "state": "Iowa", }, { "city": "La Crosse", "growth_from_2000_to_2013": "-0.8%", "latitude": 43.8013556, "longitude": -91.23958069999999, "population": "51522", "rank": "716", "state": "Wisconsin", }, { "city": "Burlington", "growth_from_2000_to_2013": "12.1%", "latitude": 36.0956918, "longitude": -79.43779909999999, "population": "51510", "rank": "717", "state": "North Carolina", }, { "city": "DeSoto", "growth_from_2000_to_2013": "36.0%", "latitude": 32.5896998, "longitude": -96.8570738, "population": "51483", "rank": "718", "state": "Texas", }, { "city": "Harrisonburg", "growth_from_2000_to_2013": "27.1%", "latitude": 38.4495688, "longitude": -78.8689155, "population": "51395", "rank": "719", "state": "Virginia", }, { "city": "Minnetonka", "growth_from_2000_to_2013": "0.4%", "latitude": 44.9211836, "longitude": -93.4687489, "population": "51368", "rank": "720", "state": "Minnesota", }, { "city": "Elkhart", "growth_from_2000_to_2013": "-2.5%", "latitude": 41.6819935, "longitude": -85.9766671, "population": "51265", "rank": "721", "state": "Indiana", }, { "city": "Lakewood", "growth_from_2000_to_2013": "-9.4%", "latitude": 41.4819932, "longitude": -81.7981908, "population": "51143", "rank": "722", "state": "Ohio", }, { "city": "Glendora", "growth_from_2000_to_2013": "3.1%", "latitude": 34.1361187, "longitude": -117.865339, "population": "51074", "rank": "723", "state": "California", }, { "city": "Southaven", "growth_from_2000_to_2013": "72.8%", "latitude": 34.9889818, "longitude": -90.0125913, "population": "50997", "rank": "724", "state": "Mississippi", }, { "city": "Charleston", "growth_from_2000_to_2013": "-4.7%", "latitude": 38.3498195, "longitude": -81.6326234, "population": "50821", "rank": "725", "state": "West Virginia", }, { "city": "Joplin", "growth_from_2000_to_2013": "11.2%", "latitude": 37.08422710000001, "longitude": -94.51328099999999, "population": "50789", "rank": "726", "state": "Missouri", }, { "city": "Enid", "growth_from_2000_to_2013": "8.1%", "latitude": 36.3955891, "longitude": -97.8783911, "population": "50725", "rank": "727", "state": "Oklahoma", }, { "city": "Palm Beach Gardens", "growth_from_2000_to_2013": "39.6%", "latitude": 26.8233946, "longitude": -80.13865469999999, "population": "50699", "rank": "728", "state": "Florida", }, { "city": "Brookhaven", "growth_from_2000_to_2013": "", "latitude": 33.8651033, "longitude": -84.3365917, "population": "50603", "rank": "729", "state": "Georgia", }, { "city": "Plainfield", "growth_from_2000_to_2013": "5.7%", "latitude": 40.6337136, "longitude": -74.4073736, "population": "50588", "rank": "730", "state": "New Jersey", }, { "city": "Grand Island", "growth_from_2000_to_2013": "16.0%", "latitude": 40.9263957, "longitude": -98.3420118, "population": "50550", "rank": "731", "state": "Nebraska", }, { "city": "Palm Desert", "growth_from_2000_to_2013": "13.2%", "latitude": 33.7222445, "longitude": -116.3744556, "population": "50508", "rank": "732", "state": "California", }, { "city": "Huntersville", "growth_from_2000_to_2013": "92.9%", "latitude": 35.410694, "longitude": -80.84285040000002, "population": "50458", "rank": "733", "state": "North Carolina", }, { "city": "Tigard", "growth_from_2000_to_2013": "17.8%", "latitude": 45.4312294, "longitude": -122.7714861, "population": "50444", "rank": "734", "state": "Oregon", }, { "city": "Lenexa", "growth_from_2000_to_2013": "24.6%", "latitude": 38.9536174, "longitude": -94.73357089999999, "population": "50344", "rank": "735", "state": "Kansas", }, { "city": "Saginaw", "growth_from_2000_to_2013": "-18.2%", "latitude": 43.4194699, "longitude": -83.9508068, "population": "50303", "rank": "736", "state": "Michigan", }, { "city": "Kentwood", "growth_from_2000_to_2013": "10.5%", "latitude": 42.8694731, "longitude": -85.64474919999999, "population": "50233", "rank": "737", "state": "Michigan", }, { "city": "Doral", "growth_from_2000_to_2013": "137.6%", "latitude": 25.8195424, "longitude": -80.3553302, "population": "50213", "rank": "738", "state": "Florida", }, { "city": "Apple Valley", "growth_from_2000_to_2013": "9.2%", "latitude": 44.7319094, "longitude": -93.21772000000001, "population": "50201", "rank": "739", "state": "Minnesota", }, { "city": "Grapevine", "growth_from_2000_to_2013": "17.6%", "latitude": 32.9342919, "longitude": -97.0780654, "population": "50195", "rank": "740", "state": "Texas", }, { "city": "Aliso Viejo", "growth_from_2000_to_2013": "25.4%", "latitude": 33.5676842, "longitude": -117.7256083, "population": "50175", "rank": "741", "state": "California", }, { "city": "Sammamish", "growth_from_2000_to_2013": "44.1%", "latitude": 47.61626829999999, "longitude": -122.0355736, "population": "50169", "rank": "742", "state": "Washington", }, { "city": "Casa Grande", "growth_from_2000_to_2013": "86.0%", "latitude": 32.8795022, "longitude": -111.7573521, "population": "50111", "rank": "743", "state": "Arizona", }, { "city": "Pinellas Park", "growth_from_2000_to_2013": "5.9%", "latitude": 27.8428025, "longitude": -82.6995443, "population": "49998", "rank": "744", "state": "Florida", }, { "city": "Troy", "growth_from_2000_to_2013": "1.5%", "latitude": 42.7284117, "longitude": -73.69178509999999, "population": "49974", "rank": "745", "state": "New York", }, { "city": "West Sacramento", "growth_from_2000_to_2013": "55.6%", "latitude": 38.5804609, "longitude": -121.530234, "population": "49891", "rank": "746", "state": "California", }, { "city": "Burien", "growth_from_2000_to_2013": "56.7%", "latitude": 47.4703767, "longitude": -122.3467918, "population": "49858", "rank": "747", "state": "Washington", }, { "city": "Commerce City", "growth_from_2000_to_2013": "135.4%", "latitude": 39.8083196, "longitude": -104.9338675, "population": "49799", "rank": "748", "state": "Colorado", }, { "city": "Monroe", "growth_from_2000_to_2013": "-6.1%", "latitude": 32.5093109, "longitude": -92.1193012, "population": "49761", "rank": "749", "state": "Louisiana", }, { "city": "Cerritos", "growth_from_2000_to_2013": "-3.6%", "latitude": 33.8583483, "longitude": -118.0647871, "population": "49707", "rank": "750", "state": "California", }, { "city": "Downers Grove", "growth_from_2000_to_2013": "0.0%", "latitude": 41.8089191, "longitude": -88.01117459999999, "population": "49670", "rank": "751", "state": "Illinois", }, { "city": "Coral Gables", "growth_from_2000_to_2013": "16.1%", "latitude": 25.72149, "longitude": -80.2683838, "population": "49631", "rank": "752", "state": "Florida", }, { "city": "Wilson", "growth_from_2000_to_2013": "10.1%", "latitude": 35.7212689, "longitude": -77.9155395, "population": "49628", "rank": "753", "state": "North Carolina", }, { "city": "Niagara Falls", "growth_from_2000_to_2013": "-10.8%", "latitude": 43.0962143, "longitude": -79.0377388, "population": "49468", "rank": "754", "state": "New York", }, { "city": "Poway", "growth_from_2000_to_2013": "2.4%", "latitude": 32.9628232, "longitude": -117.0358646, "population": "49417", "rank": "755", "state": "California", }, { "city": "Edina", "growth_from_2000_to_2013": "4.1%", "latitude": 44.8896866, "longitude": -93.3499489, "population": "49376", "rank": "756", "state": "Minnesota", }, { "city": "Cuyahoga Falls", "growth_from_2000_to_2013": "-0.2%", "latitude": 41.1339449, "longitude": -81.48455849999999, "population": "49267", "rank": "757", "state": "Ohio", }, { "city": "Rancho Santa Margarita", "growth_from_2000_to_2013": "4.6%", "latitude": 33.640855, "longitude": -117.603104, "population": "49228", "rank": "758", "state": "California", }, { "city": "Harrisburg", "growth_from_2000_to_2013": "0.6%", "latitude": 40.2731911, "longitude": -76.8867008, "population": "49188", "rank": "759", "state": "Pennsylvania", }, { "city": "Huntington", "growth_from_2000_to_2013": "-5.0%", "latitude": 38.4192496, "longitude": -82.44515400000002, "population": "49177", "rank": "760", "state": "West Virginia", }, { "city": "La Mirada", "growth_from_2000_to_2013": "4.6%", "latitude": 33.9172357, "longitude": -118.0120086, "population": "49133", "rank": "761", "state": "California", }, { "city": "Cypress", "growth_from_2000_to_2013": "5.3%", "latitude": 33.8169599, "longitude": -118.0372852, "population": "49087", "rank": "762", "state": "California", }, { "city": "Caldwell", "growth_from_2000_to_2013": "77.1%", "latitude": 43.66293839999999, "longitude": -116.6873596, "population": "48957", "rank": "763", "state": "Idaho", }, { "city": "Logan", "growth_from_2000_to_2013": "14.5%", "latitude": 41.7369803, "longitude": -111.8338359, "population": "48913", "rank": "764", "state": "Utah", }, { "city": "Galveston", "growth_from_2000_to_2013": "-15.2%", "latitude": 29.3013479, "longitude": -94.7976958, "population": "48733", "rank": "765", "state": "Texas", }, { "city": "Sheboygan", "growth_from_2000_to_2013": "-3.9%", "latitude": 43.7508284, "longitude": -87.71453, "population": "48725", "rank": "766", "state": "Wisconsin", }, { "city": "Middletown", "growth_from_2000_to_2013": "-5.7%", "latitude": 39.5150576, "longitude": -84.39827629999999, "population": "48630", "rank": "767", "state": "Ohio", }, { "city": "Murray", "growth_from_2000_to_2013": "6.6%", "latitude": 40.6668916, "longitude": -111.8879909, "population": "48612", "rank": "768", "state": "Utah", }, { "city": "Roswell", "growth_from_2000_to_2013": "7.5%", "latitude": 33.3942655, "longitude": -104.5230242, "population": "48611", "rank": "769", "state": "New Mexico", }, { "city": "Parker", "growth_from_2000_to_2013": "96.4%", "latitude": 39.5186002, "longitude": -104.7613633, "population": "48608", "rank": "770", "state": "Colorado", }, { "city": "Bedford", "growth_from_2000_to_2013": "2.9%", "latitude": 32.844017, "longitude": -97.1430671, "population": "48592", "rank": "771", "state": "Texas", }, { "city": "East Lansing", "growth_from_2000_to_2013": "4.2%", "latitude": 42.7369792, "longitude": -84.48386540000001, "population": "48554", "rank": "772", "state": "Michigan", }, { "city": "Methuen", "growth_from_2000_to_2013": "10.3%", "latitude": 42.7262016, "longitude": -71.1908924, "population": "48514", "rank": "773", "state": "Massachusetts", }, { "city": "Covina", "growth_from_2000_to_2013": "3.3%", "latitude": 34.0900091, "longitude": -117.8903397, "population": "48508", "rank": "774", "state": "California", }, { "city": "Alexandria", "growth_from_2000_to_2013": "4.1%", "latitude": 31.3112936, "longitude": -92.4451371, "population": "48426", "rank": "775", "state": "Louisiana", }, { "city": "Olympia", "growth_from_2000_to_2013": "12.1%", "latitude": 47.0378741, "longitude": -122.9006951, "population": "48338", "rank": "776", "state": "Washington", }, { "city": "Euclid", "growth_from_2000_to_2013": "-8.4%", "latitude": 41.5931049, "longitude": -81.5267873, "population": "48139", "rank": "777", "state": "Ohio", }, { "city": "Mishawaka", "growth_from_2000_to_2013": "2.0%", "latitude": 41.6619927, "longitude": -86.15861559999999, "population": "47989", "rank": "778", "state": "Indiana", }, { "city": "Salina", "growth_from_2000_to_2013": "4.5%", "latitude": 38.8402805, "longitude": -97.61142369999999, "population": "47846", "rank": "779", "state": "Kansas", }, { "city": "Azusa", "growth_from_2000_to_2013": "6.7%", "latitude": 34.1336186, "longitude": -117.9075627, "population": "47842", "rank": "780", "state": "California", }, { "city": "Newark", "growth_from_2000_to_2013": "3.1%", "latitude": 40.0581205, "longitude": -82.4012642, "population": "47777", "rank": "781", "state": "Ohio", }, { "city": "Chesterfield", "growth_from_2000_to_2013": "1.9%", "latitude": 38.6631083, "longitude": -90.5770675, "population": "47749", "rank": "782", "state": "Missouri", }, { "city": "Leesburg", "growth_from_2000_to_2013": "66.0%", "latitude": 39.1156615, "longitude": -77.56360149999999, "population": "47673", "rank": "783", "state": "Virginia", }, { "city": "Dunwoody", "growth_from_2000_to_2013": "", "latitude": 33.9462125, "longitude": -84.3346473, "population": "47591", "rank": "784", "state": "Georgia", }, { "city": "Hattiesburg", "growth_from_2000_to_2013": "3.1%", "latitude": 31.3271189, "longitude": -89.29033919999999, "population": "47556", "rank": "785", "state": "Mississippi", }, { "city": "Roseville", "growth_from_2000_to_2013": "-1.0%", "latitude": 42.4972583, "longitude": -82.9371409, "population": "47555", "rank": "786", "state": "Michigan", }, { "city": "Bonita Springs", "growth_from_2000_to_2013": "43.8%", "latitude": 26.339806, "longitude": -81.7786972, "population": "47547", "rank": "787", "state": "Florida", }, { "city": "Portage", "growth_from_2000_to_2013": "5.7%", "latitude": 42.2011538, "longitude": -85.5800022, "population": "47523", "rank": "788", "state": "Michigan", }, { "city": "St. Louis Park", "growth_from_2000_to_2013": "7.3%", "latitude": 44.9597376, "longitude": -93.3702186, "population": "47411", "rank": "789", "state": "Minnesota", }, { "city": "Collierville", "growth_from_2000_to_2013": "43.4%", "latitude": 35.042036, "longitude": -89.6645266, "population": "47333", "rank": "790", "state": "Tennessee", }, { "city": "Middletown", "growth_from_2000_to_2013": "3.6%", "latitude": 41.5623209, "longitude": -72.6506488, "population": "47333", "rank": "791", "state": "Connecticut", }, { "city": "Stillwater", "growth_from_2000_to_2013": "20.1%", "latitude": 36.1156071, "longitude": -97.0583681, "population": "47186", "rank": "792", "state": "Oklahoma", }, { "city": "East Providence", "growth_from_2000_to_2013": "-3.3%", "latitude": 41.8137116, "longitude": -71.3700545, "population": "47149", "rank": "793", "state": "Rhode Island", }, { "city": "Lawrence", "growth_from_2000_to_2013": "20.5%", "latitude": 39.8386516, "longitude": -86.0252612, "population": "47135", "rank": "794", "state": "Indiana", }, { "city": "Wauwatosa", "growth_from_2000_to_2013": "0.0%", "latitude": 43.0494572, "longitude": -88.0075875, "population": "47134", "rank": "795", "state": "Wisconsin", }, { "city": "Mentor", "growth_from_2000_to_2013": "-6.6%", "latitude": 41.6661573, "longitude": -81.339552, "population": "46979", "rank": "796", "state": "Ohio", }, { "city": "Ceres", "growth_from_2000_to_2013": "34.0%", "latitude": 37.5949316, "longitude": -120.9577098, "population": "46714", "rank": "797", "state": "California", }, { "city": "Cedar Hill", "growth_from_2000_to_2013": "42.4%", "latitude": 32.5884689, "longitude": -96.9561152, "population": "46663", "rank": "798", "state": "Texas", }, { "city": "Mansfield", "growth_from_2000_to_2013": "-10.1%", "latitude": 40.75839, "longitude": -82.5154471, "population": "46454", "rank": "799", "state": "Ohio", }, { "city": "Binghamton", "growth_from_2000_to_2013": "-1.7%", "latitude": 42.09868669999999, "longitude": -75.91797380000001, "population": "46444", "rank": "800", "state": "New York", }, { "city": "Coeur d'Alene", "growth_from_2000_to_2013": "32.8%", "latitude": 47.6776832, "longitude": -116.7804664, "population": "46402", "rank": "801", "state": "Idaho", }, { "city": "San Luis Obispo", "growth_from_2000_to_2013": "4.4%", "latitude": 35.2827524, "longitude": -120.6596156, "population": "46377", "rank": "802", "state": "California", }, { "city": "Minot", "growth_from_2000_to_2013": "26.6%", "latitude": 48.2329668, "longitude": -101.2922906, "population": "46321", "rank": "803", "state": "North Dakota", }, { "city": "Palm Springs", "growth_from_2000_to_2013": "7.7%", "latitude": 33.8302961, "longitude": -116.5452921, "population": "46281", "rank": "804", "state": "California", }, { "city": "Pine Bluff", "growth_from_2000_to_2013": "-16.2%", "latitude": 34.2284312, "longitude": -92.00319549999999, "population": "46094", "rank": "805", "state": "Arkansas", }, { "city": "Texas City", "growth_from_2000_to_2013": "10.3%", "latitude": 29.383845, "longitude": -94.9027002, "population": "46081", "rank": "806", "state": "Texas", }, { "city": "Summerville", "growth_from_2000_to_2013": "62.9%", "latitude": 33.0185039, "longitude": -80.17564809999999, "population": "46074", "rank": "807", "state": "South Carolina", }, { "city": "Twin Falls", "growth_from_2000_to_2013": "31.5%", "latitude": 42.5629668, "longitude": -114.4608711, "population": "45981", "rank": "808", "state": "Idaho", }, { "city": "Jeffersonville", "growth_from_2000_to_2013": "53.3%", "latitude": 38.2775702, "longitude": -85.7371847, "population": "45929", "rank": "809", "state": "Indiana", }, { "city": "San Jacinto", "growth_from_2000_to_2013": "91.8%", "latitude": 33.7839084, "longitude": -116.958635, "population": "45851", "rank": "810", "state": "California", }, { "city": "Madison", "growth_from_2000_to_2013": "53.7%", "latitude": 34.6992579, "longitude": -86.74833180000002, "population": "45799", "rank": "811", "state": "Alabama", }, { "city": "Altoona", "growth_from_2000_to_2013": "-7.3%", "latitude": 40.5186809, "longitude": -78.3947359, "population": "45796", "rank": "812", "state": "Pennsylvania", }, { "city": "Columbus", "growth_from_2000_to_2013": "16.4%", "latitude": 39.2014404, "longitude": -85.9213796, "population": "45775", "rank": "813", "state": "Indiana", }, { "city": "Beavercreek", "growth_from_2000_to_2013": "19.0%", "latitude": 39.7092262, "longitude": -84.06326849999999, "population": "45712", "rank": "814", "state": "Ohio", }, { "city": "Apopka", "growth_from_2000_to_2013": "63.9%", "latitude": 28.6934076, "longitude": -81.5322149, "population": "45587", "rank": "815", "state": "Florida", }, { "city": "Elmhurst", "growth_from_2000_to_2013": "5.7%", "latitude": 41.8994744, "longitude": -87.9403418, "population": "45556", "rank": "816", "state": "Illinois", }, { "city": "Maricopa", "growth_from_2000_to_2013": "2503.4%", "latitude": 33.0581063, "longitude": -112.0476423, "population": "45508", "rank": "817", "state": "Arizona", }, { "city": "Farmington", "growth_from_2000_to_2013": "18.1%", "latitude": 36.72805830000001, "longitude": -108.2186856, "population": "45426", "rank": "818", "state": "New Mexico", }, { "city": "Glenview", "growth_from_2000_to_2013": "5.2%", "latitude": 42.0697509, "longitude": -87.7878408, "population": "45417", "rank": "819", "state": "Illinois", }, { "city": "Cleveland Heights", "growth_from_2000_to_2013": "-10.3%", "latitude": 41.5200518, "longitude": -81.556235, "population": "45394", "rank": "820", "state": "Ohio", }, { "city": "Draper", "growth_from_2000_to_2013": "77.4%", "latitude": 40.5246711, "longitude": -111.8638226, "population": "45285", "rank": "821", "state": "Utah", }, { "city": "Lincoln", "growth_from_2000_to_2013": "285.2%", "latitude": 38.891565, "longitude": -121.2930079, "population": "45237", "rank": "822", "state": "California", }, { "city": "Sierra Vista", "growth_from_2000_to_2013": "19.3%", "latitude": 31.5455001, "longitude": -110.2772856, "population": "45129", "rank": "823", "state": "Arizona", }, { "city": "Lacey", "growth_from_2000_to_2013": "41.7%", "latitude": 47.03426289999999, "longitude": -122.8231915, "population": "44919", "rank": "824", "state": "Washington", }, { "city": "Biloxi", "growth_from_2000_to_2013": "-11.5%", "latitude": 30.3960318, "longitude": -88.88530779999999, "population": "44820", "rank": "825", "state": "Mississippi", }, { "city": "Strongsville", "growth_from_2000_to_2013": "1.9%", "latitude": 41.3144966, "longitude": -81.83569, "population": "44730", "rank": "826", "state": "Ohio", }, { "city": "Barnstable Town", "growth_from_2000_to_2013": "-7.1%", "latitude": 41.7003208, "longitude": -70.3002024, "population": "44641", "rank": "827", "state": "Massachusetts", }, { "city": "Wylie", "growth_from_2000_to_2013": "185.2%", "latitude": 33.0151201, "longitude": -96.5388789, "population": "44575", "rank": "828", "state": "Texas", }, { "city": "Sayreville", "growth_from_2000_to_2013": "9.6%", "latitude": 40.45940210000001, "longitude": -74.360846, "population": "44412", "rank": "829", "state": "New Jersey", }, { "city": "Kannapolis", "growth_from_2000_to_2013": "18.6%", "latitude": 35.4873613, "longitude": -80.6217341, "population": "44359", "rank": "830", "state": "North Carolina", }, { "city": "Charlottesville", "growth_from_2000_to_2013": "10.5%", "latitude": 38.0293059, "longitude": -78.47667810000002, "population": "44349", "rank": "831", "state": "Virginia", }, { "city": "Littleton", "growth_from_2000_to_2013": "9.4%", "latitude": 39.613321, "longitude": -105.0166498, "population": "44275", "rank": "832", "state": "Colorado", }, { "city": "Titusville", "growth_from_2000_to_2013": "7.8%", "latitude": 28.6122187, "longitude": -80.8075537, "population": "44206", "rank": "833", "state": "Florida", }, { "city": "Hackensack", "growth_from_2000_to_2013": "2.9%", "latitude": 40.8859325, "longitude": -74.0434736, "population": "44113", "rank": "834", "state": "New Jersey", }, { "city": "Newark", "growth_from_2000_to_2013": "3.3%", "latitude": 37.5296593, "longitude": -122.0402399, "population": "44096", "rank": "835", "state": "California", }, { "city": "Pittsfield", "growth_from_2000_to_2013": "-3.6%", "latitude": 42.4500845, "longitude": -73.2453824, "population": "44057", "rank": "836", "state": "Massachusetts", }, { "city": "York", "growth_from_2000_to_2013": "6.4%", "latitude": 39.9625984, "longitude": -76.727745, "population": "43935", "rank": "837", "state": "Pennsylvania", }, { "city": "Lombard", "growth_from_2000_to_2013": "2.9%", "latitude": 41.8800296, "longitude": -88.00784349999999, "population": "43907", "rank": "838", "state": "Illinois", }, { "city": "Attleboro", "growth_from_2000_to_2013": "4.6%", "latitude": 41.94454409999999, "longitude": -71.2856082, "population": "43886", "rank": "839", "state": "Massachusetts", }, { "city": "DeKalb", "growth_from_2000_to_2013": "11.8%", "latitude": 41.9294736, "longitude": -88.75036469999999, "population": "43849", "rank": "840", "state": "Illinois", }, { "city": "Blacksburg", "growth_from_2000_to_2013": "9.4%", "latitude": 37.2295733, "longitude": -80.4139393, "population": "43609", "rank": "841", "state": "Virginia", }, { "city": "Dublin", "growth_from_2000_to_2013": "37.6%", "latitude": 40.0992294, "longitude": -83.1140771, "population": "43607", "rank": "842", "state": "Ohio", }, { "city": "Haltom City", "growth_from_2000_to_2013": "11.4%", "latitude": 32.7995738, "longitude": -97.26918169999999, "population": "43580", "rank": "843", "state": "Texas", }, { "city": "Lompoc", "growth_from_2000_to_2013": "5.5%", "latitude": 34.6391501, "longitude": -120.4579409, "population": "43509", "rank": "844", "state": "California", }, { "city": "El Centro", "growth_from_2000_to_2013": "13.7%", "latitude": 32.792, "longitude": -115.5630514, "population": "43363", "rank": "845", "state": "California", }, { "city": "Danville", "growth_from_2000_to_2013": "3.7%", "latitude": 37.8215929, "longitude": -121.9999606, "population": "43341", "rank": "846", "state": "California", }, { "city": "Jefferson City", "growth_from_2000_to_2013": "6.7%", "latitude": 38.57670170000001, "longitude": -92.1735164, "population": "43330", "rank": "847", "state": "Missouri", }, { "city": "Cutler Bay", "growth_from_2000_to_2013": "42.9%", "latitude": 25.5808323, "longitude": -80.34685929999999, "population": "43328", "rank": "848", "state": "Florida", }, { "city": "Oakland Park", "growth_from_2000_to_2013": "2.7%", "latitude": 26.1723065, "longitude": -80.1319893, "population": "43286", "rank": "849", "state": "Florida", }, { "city": "North Miami Beach", "growth_from_2000_to_2013": "3.6%", "latitude": 25.9331488, "longitude": -80.1625463, "population": "43250", "rank": "850", "state": "Florida", }, { "city": "Freeport", "growth_from_2000_to_2013": "-1.4%", "latitude": 40.6576022, "longitude": -73.58318349999999, "population": "43167", "rank": "851", "state": "New York", }, { "city": "Moline", "growth_from_2000_to_2013": "-1.9%", "latitude": 41.5067003, "longitude": -90.51513419999999, "population": "43116", "rank": "852", "state": "Illinois", }, { "city": "Coachella", "growth_from_2000_to_2013": "88.4%", "latitude": 33.6803003, "longitude": -116.173894, "population": "43092", "rank": "853", "state": "California", }, { "city": "Fort Pierce", "growth_from_2000_to_2013": "6.9%", "latitude": 27.4467056, "longitude": -80.3256056, "population": "43074", "rank": "854", "state": "Florida", }, { "city": "Smyrna", "growth_from_2000_to_2013": "54.9%", "latitude": 35.9828412, "longitude": -86.5186045, "population": "43060", "rank": "855", "state": "Tennessee", }, { "city": "Bountiful", "growth_from_2000_to_2013": "3.9%", "latitude": 40.8893895, "longitude": -111.880771, "population": "43023", "rank": "856", "state": "Utah", }, { "city": "Fond du Lac", "growth_from_2000_to_2013": "1.7%", "latitude": 43.7730448, "longitude": -88.4470508, "population": "42970", "rank": "857", "state": "Wisconsin", }, { "city": "Everett", "growth_from_2000_to_2013": "12.1%", "latitude": 42.40843, "longitude": -71.0536625, "population": "42935", "rank": "858", "state": "Massachusetts", }, { "city": "Danville", "growth_from_2000_to_2013": "-11.0%", "latitude": 36.5859718, "longitude": -79.39502279999999, "population": "42907", "rank": "859", "state": "Virginia", }, { "city": "Keller", "growth_from_2000_to_2013": "53.3%", "latitude": 32.9341893, "longitude": -97.229298, "population": "42907", "rank": "860", "state": "Texas", }, { "city": "Belleville", "growth_from_2000_to_2013": "1.2%", "latitude": 38.5200504, "longitude": -89.9839935, "population": "42895", "rank": "861", "state": "Illinois", }, { "city": "Bell Gardens", "growth_from_2000_to_2013": "-2.7%", "latitude": 33.9652918, "longitude": -118.1514588, "population": "42889", "rank": "862", "state": "California", }, { "city": "Cleveland", "growth_from_2000_to_2013": "14.1%", "latitude": 35.1595182, "longitude": -84.8766115, "population": "42774", "rank": "863", "state": "Tennessee", }, { "city": "North Lauderdale", "growth_from_2000_to_2013": "10.8%", "latitude": 26.217305, "longitude": -80.2258811, "population": "42757", "rank": "864", "state": "Florida", }, { "city": "Fairfield", "growth_from_2000_to_2013": "1.2%", "latitude": 39.3454673, "longitude": -84.5603187, "population": "42635", "rank": "865", "state": "Ohio", }, { "city": "Salem", "growth_from_2000_to_2013": "5.1%", "latitude": 42.51954, "longitude": -70.8967155, "population": "42544", "rank": "866", "state": "Massachusetts", }, { "city": "Rancho Palos Verdes", "growth_from_2000_to_2013": "2.9%", "latitude": 33.7444613, "longitude": -118.3870173, "population": "42448", "rank": "867", "state": "California", }, { "city": "San Bruno", "growth_from_2000_to_2013": "5.6%", "latitude": 37.6304904, "longitude": -122.4110835, "population": "42443", "rank": "868", "state": "California", }, { "city": "Concord", "growth_from_2000_to_2013": "4.1%", "latitude": 43.2081366, "longitude": -71.5375718, "population": "42419", "rank": "869", "state": "New Hampshire", }, { "city": "Burlington", "growth_from_2000_to_2013": "6.1%", "latitude": 44.4758825, "longitude": -73.21207199999999, "population": "42284", "rank": "870", "state": "Vermont", }, { "city": "Apex", "growth_from_2000_to_2013": "98.8%", "latitude": 35.732652, "longitude": -78.85028559999999, "population": "42214", "rank": "871", "state": "North Carolina", }, { "city": "Midland", "growth_from_2000_to_2013": "0.9%", "latitude": 43.6155825, "longitude": -84.2472116, "population": "42181", "rank": "872", "state": "Michigan", }, { "city": "Altamonte Springs", "growth_from_2000_to_2013": "2.0%", "latitude": 28.6611089, "longitude": -81.3656242, "population": "42150", "rank": "873", "state": "Florida", }, { "city": "Hutchinson", "growth_from_2000_to_2013": "0.1%", "latitude": 38.0608445, "longitude": -97.92977429999999, "population": "41889", "rank": "874", "state": "Kansas", }, { "city": "Buffalo Grove", "growth_from_2000_to_2013": "-3.4%", "latitude": 42.1662831, "longitude": -87.9631308, "population": "41778", "rank": "875", "state": "Illinois", }, { "city": "Urbandale", "growth_from_2000_to_2013": "41.5%", "latitude": 41.6266555, "longitude": -93.71216559999999, "population": "41776", "rank": "876", "state": "Iowa", }, { "city": "State College", "growth_from_2000_to_2013": "8.7%", "latitude": 40.7933949, "longitude": -77.8600012, "population": "41757", "rank": "877", "state": "Pennsylvania", }, { "city": "Urbana", "growth_from_2000_to_2013": "10.3%", "latitude": 40.1105875, "longitude": -88.2072697, "population": "41752", "rank": "878", "state": "Illinois", }, { "city": "Plainfield", "growth_from_2000_to_2013": "203.6%", "latitude": 41.632223, "longitude": -88.2120315, "population": "41734", "rank": "879", "state": "Illinois", }, { "city": "Manassas", "growth_from_2000_to_2013": "19.5%", "latitude": 38.7509488, "longitude": -77.47526669999999, "population": "41705", "rank": "880", "state": "Virginia", }, { "city": "Bartlett", "growth_from_2000_to_2013": "13.1%", "latitude": 41.9950276, "longitude": -88.1856301, "population": "41679", "rank": "881", "state": "Illinois", }, { "city": "Kearny", "growth_from_2000_to_2013": "2.8%", "latitude": 40.7684342, "longitude": -74.1454214, "population": "41664", "rank": "882", "state": "New Jersey", }, { "city": "Oro Valley", "growth_from_2000_to_2013": "27.0%", "latitude": 32.3909071, "longitude": -110.966488, "population": "41627", "rank": "883", "state": "Arizona", }, { "city": "Findlay", "growth_from_2000_to_2013": "5.8%", "latitude": 41.04422, "longitude": -83.6499321, "population": "41512", "rank": "884", "state": "Ohio", }, { "city": "Rohnert Park", "growth_from_2000_to_2013": "0.0%", "latitude": 38.3396367, "longitude": -122.7010984, "population": "41398", "rank": "885", "state": "California", }, { "city": "Westfield", "growth_from_2000_to_2013": "3.0%", "latitude": 42.1250929, "longitude": -72.749538, "population": "41301", "rank": "887", "state": "Massachusetts", }, { "city": "Linden", "growth_from_2000_to_2013": "4.7%", "latitude": 40.6220478, "longitude": -74.24459019999999, "population": "41301", "rank": "886", "state": "New Jersey", }, { "city": "Sumter", "growth_from_2000_to_2013": "1.3%", "latitude": 33.9204354, "longitude": -80.3414693, "population": "41190", "rank": "888", "state": "South Carolina", }, { "city": "Wilkes-Barre", "growth_from_2000_to_2013": "-4.3%", "latitude": 41.2459149, "longitude": -75.88130749999999, "population": "41108", "rank": "889", "state": "Pennsylvania", }, { "city": "Woonsocket", "growth_from_2000_to_2013": "-5.2%", "latitude": 42.00287609999999, "longitude": -71.51478390000001, "population": "41026", "rank": "890", "state": "Rhode Island", }, { "city": "Leominster", "growth_from_2000_to_2013": "-1.1%", "latitude": 42.5250906, "longitude": -71.759794, "population": "41002", "rank": "891", "state": "Massachusetts", }, { "city": "Shelton", "growth_from_2000_to_2013": "7.3%", "latitude": 41.3164856, "longitude": -73.0931641, "population": "40999", "rank": "892", "state": "Connecticut", }, { "city": "Brea", "growth_from_2000_to_2013": "15.2%", "latitude": 33.9166805, "longitude": -117.9000604, "population": "40963", "rank": "893", "state": "California", }, { "city": "Covington", "growth_from_2000_to_2013": "-4.7%", "latitude": 39.0836712, "longitude": -84.5085536, "population": "40956", "rank": "894", "state": "Kentucky", }, { "city": "Rockwall", "growth_from_2000_to_2013": "117.2%", "latitude": 32.93123360000001, "longitude": -96.4597089, "population": "40922", "rank": "895", "state": "Texas", }, { "city": "Meridian", "growth_from_2000_to_2013": "-0.9%", "latitude": 32.3643098, "longitude": -88.703656, "population": "40921", "rank": "896", "state": "Mississippi", }, { "city": "Riverton", "growth_from_2000_to_2013": "61.6%", "latitude": 40.521893, "longitude": -111.9391023, "population": "40921", "rank": "897", "state": "Utah", }, { "city": "St. Cloud", "growth_from_2000_to_2013": "86.2%", "latitude": 28.2489016, "longitude": -81.2811801, "population": "40918", "rank": "898", "state": "Florida", }, { "city": "Quincy", "growth_from_2000_to_2013": "0.5%", "latitude": 39.9356016, "longitude": -91.4098726, "population": "40915", "rank": "899", "state": "Illinois", }, { "city": "Morgan Hill", "growth_from_2000_to_2013": "19.5%", "latitude": 37.1305012, "longitude": -121.6543901, "population": "40836", "rank": "900", "state": "California", }, { "city": "Warren", "growth_from_2000_to_2013": "-15.2%", "latitude": 41.2375569, "longitude": -80.81841659999999, "population": "40768", "rank": "901", "state": "Ohio", }, { "city": "Edmonds", "growth_from_2000_to_2013": "2.9%", "latitude": 47.8106521, "longitude": -122.3773552, "population": "40727", "rank": "902", "state": "Washington", }, { "city": "Burleson", "growth_from_2000_to_2013": "85.3%", "latitude": 32.5420821, "longitude": -97.3208492, "population": "40714", "rank": "903", "state": "Texas", }, { "city": "Beverly", "growth_from_2000_to_2013": "2.0%", "latitude": 42.5584283, "longitude": -70.880049, "population": "40664", "rank": "904", "state": "Massachusetts", }, { "city": "Mankato", "growth_from_2000_to_2013": "24.7%", "latitude": 44.1635775, "longitude": -93.99939959999999, "population": "40641", "rank": "905", "state": "Minnesota", }, { "city": "Hagerstown", "growth_from_2000_to_2013": "10.4%", "latitude": 39.6417629, "longitude": -77.71999319999999, "population": "40612", "rank": "906", "state": "Maryland", }, { "city": "Prescott", "growth_from_2000_to_2013": "18.1%", "latitude": 34.5400242, "longitude": -112.4685025, "population": "40590", "rank": "907", "state": "Arizona", }, { "city": "Campbell", "growth_from_2000_to_2013": "4.2%", "latitude": 37.2871651, "longitude": -121.9499568, "population": "40584", "rank": "908", "state": "California", }, { "city": "Cedar Falls", "growth_from_2000_to_2013": "12.0%", "latitude": 42.5348993, "longitude": -92.4453161, "population": "40566", "rank": "909", "state": "Iowa", }, { "city": "Beaumont", "growth_from_2000_to_2013": "254.5%", "latitude": 33.9294606, "longitude": -116.977248, "population": "40481", "rank": "910", "state": "California", }, { "city": "La Puente", "growth_from_2000_to_2013": "-1.6%", "latitude": 34.0200114, "longitude": -117.9495083, "population": "40435", "rank": "911", "state": "California", }, { "city": "Crystal Lake", "growth_from_2000_to_2013": "5.3%", "latitude": 42.2411344, "longitude": -88.31619649999999, "population": "40388", "rank": "912", "state": "Illinois", }, { "city": "Fitchburg", "growth_from_2000_to_2013": "3.5%", "latitude": 42.5834228, "longitude": -71.8022955, "population": "40383", "rank": "913", "state": "Massachusetts", }, { "city": "Carol Stream", "growth_from_2000_to_2013": "-0.2%", "latitude": 41.91252859999999, "longitude": -88.13479269999999, "population": "40379", "rank": "914", "state": "Illinois", }, { "city": "Hickory", "growth_from_2000_to_2013": "7.0%", "latitude": 35.7344538, "longitude": -81.3444573, "population": "40361", "rank": "915", "state": "North Carolina", }, { "city": "Streamwood", "growth_from_2000_to_2013": "10.1%", "latitude": 42.0255827, "longitude": -88.17840849999999, "population": "40351", "rank": "916", "state": "Illinois", }, { "city": "Norwich", "growth_from_2000_to_2013": "11.6%", "latitude": 41.5242649, "longitude": -72.07591049999999, "population": "40347", "rank": "917", "state": "Connecticut", }, { "city": "Coppell", "growth_from_2000_to_2013": "10.3%", "latitude": 32.9545687, "longitude": -97.01500779999999, "population": "40342", "rank": "918", "state": "Texas", }, { "city": "San Gabriel", "growth_from_2000_to_2013": "0.9%", "latitude": 34.09611110000001, "longitude": -118.1058333, "population": "40275", "rank": "919", "state": "California", }, { "city": "Holyoke", "growth_from_2000_to_2013": "0.9%", "latitude": 42.2042586, "longitude": -72.6162009, "population": "40249", "rank": "920", "state": "Massachusetts", }, { "city": "Bentonville", "growth_from_2000_to_2013": "97.7%", "latitude": 36.3728538, "longitude": -94.2088172, "population": "40167", "rank": "921", "state": "Arkansas", }, { "city": "Florence", "growth_from_2000_to_2013": "10.2%", "latitude": 34.79981, "longitude": -87.677251, "population": "40059", "rank": "922", "state": "Alabama", }, { "city": "Peachtree Corners", "growth_from_2000_to_2013": "", "latitude": 33.9698929, "longitude": -84.2214551, "population": "40059", "rank": "923", "state": "Georgia", }, { "city": "Brentwood", "growth_from_2000_to_2013": "51.9%", "latitude": 36.0331164, "longitude": -86.78277720000001, "population": "40021", "rank": "924", "state": "Tennessee", }, { "city": "Bozeman", "growth_from_2000_to_2013": "41.9%", "latitude": 45.6769979, "longitude": -111.0429339, "population": "39860", "rank": "925", "state": "Montana", }, { "city": "New Berlin", "growth_from_2000_to_2013": "3.6%", "latitude": 42.9764027, "longitude": -88.1084224, "population": "39834", "rank": "926", "state": "Wisconsin", }, { "city": "Goose Creek", "growth_from_2000_to_2013": "26.1%", "latitude": 32.9810059, "longitude": -80.03258670000001, "population": "39823", "rank": "927", "state": "South Carolina", }, { "city": "Huntsville", "growth_from_2000_to_2013": "13.2%", "latitude": 30.7235263, "longitude": -95.55077709999999, "population": "39795", "rank": "928", "state": "Texas", }, { "city": "Prescott Valley", "growth_from_2000_to_2013": "62.9%", "latitude": 34.6100243, "longitude": -112.315721, "population": "39791", "rank": "929", "state": "Arizona", }, { "city": "Maplewood", "growth_from_2000_to_2013": "12.3%", "latitude": 44.9530215, "longitude": -92.9952153, "population": "39765", "rank": "930", "state": "Minnesota", }, { "city": "Romeoville", "growth_from_2000_to_2013": "79.5%", "latitude": 41.6475306, "longitude": -88.0895061, "population": "39650", "rank": "931", "state": "Illinois", }, { "city": "Duncanville", "growth_from_2000_to_2013": "9.7%", "latitude": 32.6518004, "longitude": -96.9083366, "population": "39605", "rank": "932", "state": "Texas", }, { "city": "Atlantic City", "growth_from_2000_to_2013": "-2.2%", "latitude": 39.3642834, "longitude": -74.4229266, "population": "39551", "rank": "933", "state": "New Jersey", }, { "city": "Clovis", "growth_from_2000_to_2013": "21.3%", "latitude": 34.4047987, "longitude": -103.2052272, "population": "39508", "rank": "934", "state": "New Mexico", }, { "city": "The Colony", "growth_from_2000_to_2013": "45.7%", "latitude": 33.0806083, "longitude": -96.89283089999999, "population": "39458", "rank": "935", "state": "Texas", }, { "city": "Culver City", "growth_from_2000_to_2013": "1.3%", "latitude": 34.0211224, "longitude": -118.3964665, "population": "39428", "rank": "936", "state": "California", }, { "city": "Marlborough", "growth_from_2000_to_2013": "7.6%", "latitude": 42.3459271, "longitude": -71.5522874, "population": "39414", "rank": "937", "state": "Massachusetts", }, { "city": "Hilton Head Island", "growth_from_2000_to_2013": "16.0%", "latitude": 32.216316, "longitude": -80.752608, "population": "39412", "rank": "938", "state": "South Carolina", }, { "city": "Moorhead", "growth_from_2000_to_2013": "21.3%", "latitude": 46.8737648, "longitude": -96.76780389999999, "population": "39398", "rank": "939", "state": "Minnesota", }, { "city": "Calexico", "growth_from_2000_to_2013": "44.0%", "latitude": 32.6789476, "longitude": -115.4988834, "population": "39389", "rank": "940", "state": "California", }, { "city": "Bullhead City", "growth_from_2000_to_2013": "15.9%", "latitude": 35.1359386, "longitude": -114.5285981, "population": "39383", "rank": "941", "state": "Arizona", }, { "city": "Germantown", "growth_from_2000_to_2013": "4.1%", "latitude": 35.0867577, "longitude": -89.8100858, "population": "39375", "rank": "942", "state": "Tennessee", }, { "city": "La Quinta", "growth_from_2000_to_2013": "59.9%", "latitude": 33.6633573, "longitude": -116.3100095, "population": "39331", "rank": "943", "state": "California", }, { "city": "Lancaster", "growth_from_2000_to_2013": "10.7%", "latitude": 39.7136754, "longitude": -82.5993294, "population": "39325", "rank": "944", "state": "Ohio", }, { "city": "Wausau", "growth_from_2000_to_2013": "1.7%", "latitude": 44.9591352, "longitude": -89.6301221, "population": "39309", "rank": "945", "state": "Wisconsin", }, { "city": "Sherman", "growth_from_2000_to_2013": "11.6%", "latitude": 33.6356618, "longitude": -96.6088805, "population": "39296", "rank": "946", "state": "Texas", }, { "city": "Ocoee", "growth_from_2000_to_2013": "57.9%", "latitude": 28.5691677, "longitude": -81.5439619, "population": "39172", "rank": "947", "state": "Florida", }, { "city": "Shakopee", "growth_from_2000_to_2013": "85.7%", "latitude": 44.7973962, "longitude": -93.5272861, "population": "39167", "rank": "948", "state": "Minnesota", }, { "city": "Woburn", "growth_from_2000_to_2013": "4.4%", "latitude": 42.4792618, "longitude": -71.1522765, "population": "39083", "rank": "949", "state": "Massachusetts", }, { "city": "Bremerton", "growth_from_2000_to_2013": "4.9%", "latitude": 47.5673202, "longitude": -122.6329356, "population": "39056", "rank": "950", "state": "Washington", }, { "city": "Rock Island", "growth_from_2000_to_2013": "-1.9%", "latitude": 41.5094771, "longitude": -90.5787476, "population": "38877", "rank": "951", "state": "Illinois", }, { "city": "Muskogee", "growth_from_2000_to_2013": "-0.7%", "latitude": 35.7478769, "longitude": -95.3696909, "population": "38863", "rank": "952", "state": "Oklahoma", }, { "city": "Cape Girardeau", "growth_from_2000_to_2013": "9.4%", "latitude": 37.3058839, "longitude": -89.51814759999999, "population": "38816", "rank": "953", "state": "Missouri", }, { "city": "Annapolis", "growth_from_2000_to_2013": "7.6%", "latitude": 38.9784453, "longitude": -76.4921829, "population": "38722", "rank": "954", "state": "Maryland", }, { "city": "Greenacres", "growth_from_2000_to_2013": "35.5%", "latitude": 26.6276276, "longitude": -80.1353896, "population": "38696", "rank": "955", "state": "Florida", }, { "city": "Ormond Beach", "growth_from_2000_to_2013": "5.8%", "latitude": 29.2858129, "longitude": -81.0558894, "population": "38661", "rank": "956", "state": "Florida", }, { "city": "Hallandale Beach", "growth_from_2000_to_2013": "12.4%", "latitude": 25.9812024, "longitude": -80.14837899999999, "population": "38632", "rank": "957", "state": "Florida", }, { "city": "Stanton", "growth_from_2000_to_2013": "2.8%", "latitude": 33.8025155, "longitude": -117.9931165, "population": "38623", "rank": "958", "state": "California", }, { "city": "Puyallup", "growth_from_2000_to_2013": "11.8%", "latitude": 47.1853785, "longitude": -122.2928974, "population": "38609", "rank": "959", "state": "Washington", }, { "city": "Pacifica", "growth_from_2000_to_2013": "0.5%", "latitude": 37.6138253, "longitude": -122.4869194, "population": "38606", "rank": "960", "state": "California", }, { "city": "Hanover Park", "growth_from_2000_to_2013": "0.6%", "latitude": 41.9994722, "longitude": -88.1450735, "population": "38510", "rank": "961", "state": "Illinois", }, { "city": "Hurst", "growth_from_2000_to_2013": "5.8%", "latitude": 32.8234621, "longitude": -97.1705678, "population": "38448", "rank": "962", "state": "Texas", }, { "city": "Lima", "growth_from_2000_to_2013": "-8.1%", "latitude": 40.742551, "longitude": -84.1052256, "population": "38355", "rank": "963", "state": "Ohio", }, { "city": "Marana", "growth_from_2000_to_2013": "166.2%", "latitude": 32.436381, "longitude": -111.2224422, "population": "38290", "rank": "964", "state": "Arizona", }, { "city": "Carpentersville", "growth_from_2000_to_2013": "22.8%", "latitude": 42.1211364, "longitude": -88.2578582, "population": "38241", "rank": "965", "state": "Illinois", }, { "city": "Oakley", "growth_from_2000_to_2013": "47.7%", "latitude": 37.9974219, "longitude": -121.7124536, "population": "38194", "rank": "966", "state": "California", }, { "city": "Huber Heights", "growth_from_2000_to_2013": "-0.2%", "latitude": 39.843947, "longitude": -84.12466080000002, "population": "38142", "rank": "967", "state": "Ohio", }, { "city": "Lancaster", "growth_from_2000_to_2013": "46.4%", "latitude": 32.5920798, "longitude": -96.7561082, "population": "38071", "rank": "968", "state": "Texas", }, { "city": "Montclair", "growth_from_2000_to_2013": "12.1%", "latitude": 34.0775104, "longitude": -117.6897776, "population": "38027", "rank": "969", "state": "California", }, { "city": "Wheeling", "growth_from_2000_to_2013": "4.8%", "latitude": 42.1391927, "longitude": -87.9289591, "population": "38015", "rank": "970", "state": "Illinois", }, { "city": "Brookfield", "growth_from_2000_to_2013": "-1.9%", "latitude": 43.0605671, "longitude": -88.1064787, "population": "37999", "rank": "971", "state": "Wisconsin", }, { "city": "Park Ridge", "growth_from_2000_to_2013": "0.1%", "latitude": 42.0111412, "longitude": -87.84061919999999, "population": "37839", "rank": "972", "state": "Illinois", }, { "city": "Florence", "growth_from_2000_to_2013": "19.8%", "latitude": 34.1954331, "longitude": -79.7625625, "population": "37792", "rank": "973", "state": "South Carolina", }, { "city": "Roy", "growth_from_2000_to_2013": "13.3%", "latitude": 41.1616108, "longitude": -112.0263313, "population": "37733", "rank": "974", "state": "Utah", }, { "city": "Winter Garden", "growth_from_2000_to_2013": "142.5%", "latitude": 28.5652787, "longitude": -81.58618469999999, "population": "37711", "rank": "975", "state": "Florida", }, { "city": "Chelsea", "growth_from_2000_to_2013": "7.3%", "latitude": 42.3917638, "longitude": -71.0328284, "population": "37670", "rank": "976", "state": "Massachusetts", }, { "city": "Valley Stream", "growth_from_2000_to_2013": "3.6%", "latitude": 40.6642699, "longitude": -73.70846449999999, "population": "37659", "rank": "977", "state": "New York", }, { "city": "Spartanburg", "growth_from_2000_to_2013": "-6.2%", "latitude": 34.9495672, "longitude": -81.9320482, "population": "37647", "rank": "978", "state": "South Carolina", }, { "city": "Lake Oswego", "growth_from_2000_to_2013": "5.3%", "latitude": 45.42067489999999, "longitude": -122.6706498, "population": "37610", "rank": "979", "state": "Oregon", }, { "city": "Friendswood", "growth_from_2000_to_2013": "28.6%", "latitude": 29.5293998, "longitude": -95.2010447, "population": "37587", "rank": "980", "state": "Texas", }, { "city": "Westerville", "growth_from_2000_to_2013": "5.7%", "latitude": 40.1261743, "longitude": -82.92906959999999, "population": "37530", "rank": "981", "state": "Ohio", }, { "city": "Northglenn", "growth_from_2000_to_2013": "15.5%", "latitude": 39.8961821, "longitude": -104.9811468, "population": "37499", "rank": "982", "state": "Colorado", }, { "city": "Phenix City", "growth_from_2000_to_2013": "31.9%", "latitude": 32.4709761, "longitude": -85.0007653, "population": "37498", "rank": "983", "state": "Alabama", }, { "city": "Grove City", "growth_from_2000_to_2013": "35.6%", "latitude": 39.88145189999999, "longitude": -83.0929644, "population": "37490", "rank": "984", "state": "Ohio", }, { "city": "Texarkana", "growth_from_2000_to_2013": "7.4%", "latitude": 33.425125, "longitude": -94.04768820000001, "population": "37442", "rank": "985", "state": "Texas", }, { "city": "Addison", "growth_from_2000_to_2013": "2.6%", "latitude": 41.931696, "longitude": -87.9889556, "population": "37385", "rank": "986", "state": "Illinois", }, { "city": "Dover", "growth_from_2000_to_2013": "16.0%", "latitude": 39.158168, "longitude": -75.5243682, "population": "37366", "rank": "987", "state": "Delaware", }, { "city": "Lincoln Park", "growth_from_2000_to_2013": "-6.7%", "latitude": 42.2505943, "longitude": -83.1785361, "population": "37313", "rank": "988", "state": "Michigan", }, { "city": "Calumet City", "growth_from_2000_to_2013": "-4.5%", "latitude": 41.6155909, "longitude": -87.5294871, "population": "37240", "rank": "989", "state": "Illinois", }, { "city": "Muskegon", "growth_from_2000_to_2013": "-7.1%", "latitude": 43.2341813, "longitude": -86.24839209999999, "population": "37213", "rank": "990", "state": "Michigan", }, { "city": "Aventura", "growth_from_2000_to_2013": "47.2%", "latitude": 25.9564812, "longitude": -80.1392121, "population": "37199", "rank": "991", "state": "Florida", }, { "city": "Martinez", "growth_from_2000_to_2013": "3.4%", "latitude": 38.0193657, "longitude": -122.1341321, "population": "37165", "rank": "992", "state": "California", }, { "city": "Greenfield", "growth_from_2000_to_2013": "4.8%", "latitude": 42.9614039, "longitude": -88.0125865, "population": "37159", "rank": "993", "state": "Wisconsin", }, { "city": "Apache Junction", "growth_from_2000_to_2013": "15.7%", "latitude": 33.4150485, "longitude": -111.5495777, "population": "37130", "rank": "994", "state": "Arizona", }, { "city": "Monrovia", "growth_from_2000_to_2013": "0.2%", "latitude": 34.1442616, "longitude": -118.0019482, "population": "37101", "rank": "995", "state": "California", }, { "city": "Weslaco", "growth_from_2000_to_2013": "28.8%", "latitude": 26.1595194, "longitude": -97.9908366, "population": "37093", "rank": "996", "state": "Texas", }, { "city": "Keizer", "growth_from_2000_to_2013": "14.4%", "latitude": 44.9901194, "longitude": -123.0262077, "population": "37064", "rank": "997", "state": "Oregon", }, { "city": "Spanish Fork", "growth_from_2000_to_2013": "78.1%", "latitude": 40.114955, "longitude": -111.654923, "population": "36956", "rank": "998", "state": "Utah", }, { "city": "Beloit", "growth_from_2000_to_2013": "2.9%", "latitude": 42.5083482, "longitude": -89.03177649999999, "population": "36888", "rank": "999", "state": "Wisconsin", }, { "city": "Panama City", "growth_from_2000_to_2013": "0.1%", "latitude": 30.1588129, "longitude": -85.6602058, "population": "36877", "rank": "1000", "state": "Florida", }, ]
class QualifierClassifier: def __init__(self): pass @staticmethod def get_qualifiers(act_state): return {}
#def createUnitDict(filename): # unit_info = dict() # with open(filename, 'r') as unit_file: # all_units = unit_file.readlines() # for unit in all_units: # unit = unit.split(",") # unit_info[unit[1].split("\n")[0]] = int(unit[0]) # return unit_info NUM_PROTOSS_ACTIONS = 70; def getUnitData(units, unit_info): unit_list = units.split("]") # remove the empty character at the end of the list unit_list = unit_list[: len(unit_list)-1] unit_types = [0 for i in range(NUM_PROTOSS_ACTIONS)] units_free = [0 for i in range(NUM_PROTOSS_ACTIONS)] units_being_built = [0 for i in range(NUM_PROTOSS_ACTIONS)] units_building = [0 for i in range(NUM_PROTOSS_ACTIONS)] canChronoBoost = 0 for unit in unit_list: unit = unit.split("[")[1] csv_unit = unit.split(",") unit_id = int(csv_unit[0]) frame_started = int(csv_unit[1]) frame_finished = int(csv_unit[2]) builder_id = int(csv_unit[3]) type_id = int(csv_unit[4]) addon_id = int(csv_unit[5]) buildtype_id = int(csv_unit[6]) build_id = int(csv_unit[7]) job_id = int(csv_unit[8]) time_until_built = int(csv_unit[9]) time_until_free = int(csv_unit[10]) time_chronoboost = int(csv_unit[11]) time_chronoboost_again = int(csv_unit[12]) max_energy = int(csv_unit[13]) energy = float(csv_unit[14]) # do stuff with the data here unit_types[type_id] += 1 if max(time_until_built, time_until_free) == 0: units_free[type_id] += 1 if time_until_built > 0: units_being_built[type_id] += 1 if time_until_built == 0 and time_until_free > 0: units_building[type_id] += 1 # Nexus can use chronoboost if type_id == unit_info["Nexus"] and energy >= 50.0: canChronoBoost = 1 return [unit_types, units_free, units_being_built, units_building], canChronoBoost """ output_type: 0 = file 1 = string """ def parseLine(line, unit_dict, mins_per_worker_per_sec, gas_per_worker_per_sec, output_type, parsed_file=None): units_finish = line.find("]]") units = line[line.find("[[")+1:units_finish+1] unit_info, canChronoBoost = getUnitData(units, unit_dict) line = line[units_finish+3:] being_built_finish = line.find("]") being_built = line[line.find("[")+1:being_built_finish] line = line[being_built_finish+2:] finished_finish = line.find("]") finished = line[line.find("[")+1:finished_finish] line = line[finished_finish+2:] chronoboosts_finish = line.find("]]") if chronoboosts_finish != -1: chronoboosts = line[line.find("[[")+1:chronoboosts_finish+1] line = line[chronoboosts_finish+3:] else: line = line[3:] single_values = line.split(",") race = single_values[0] minerals = single_values[1] gas = single_values[2] current_supply = single_values[3] max_supply = single_values[4] current_frame = single_values[5] previous_frame = single_values[6] frame_limit = single_values[7] mineral_workers = single_values[8] gas_workers = single_values[9] building_workers = single_values[10] num_refineries = single_values[11] num_depots = single_values[12] last_action = single_values[13] last_ability_finish = line.find("]") last_ability = line[line.find("[")+1:last_ability_finish] y_value = line[last_ability_finish+2:] if output_type == 0: # unit info for unit_list in unit_info: for value in unit_list: parsed_file.write(str(value) + ",") parsed_file.write(str(canChronoBoost) + ",") # state info parsed_file.write(minerals + ",") parsed_file.write(gas + ",") parsed_file.write(current_supply + ",") parsed_file.write(max_supply + ",") parsed_file.write(current_frame + ",") parsed_file.write(mineral_workers + ",") parsed_file.write(gas_workers + ",") parsed_file.write(frame_limit + ",") parsed_file.write(str(mins_per_worker_per_sec) + ",") if y_value == "": parsed_file.write(str(gas_per_worker_per_sec)) else: parsed_file.write(str(gas_per_worker_per_sec) + ",") # y value parsed_file.write(y_value) elif output_type == 1: output = "" # unit info for unit_list in unit_info: for value in unit_list: output += (str(value) + ",") output += (str(canChronoBoost) + ",") # state info output += (minerals + ",") output += (gas + ",") output += (current_supply + ",") output += (max_supply + ",") output += (current_frame + ",") output += (mineral_workers + ",") output += (gas_workers + ",") output += (frame_limit + ",") output += (str(mins_per_worker_per_sec) + ",") if y_value == "": output += (str(gas_per_worker_per_sec)) else: output += (str(gas_per_worker_per_sec) + ",") # y value output += (y_value) return output
# 2020.04.26: ไบŒๅˆ†ๆœ็ดขๅˆ้€‚็š„ capacity๏ผš class Solution: def shipWithinDays(self, weights: List[int], D: int) -> int: ''' ๆ€ๆƒณๅฐฑๆ˜ฏๅŽป่ฏ•๏ผš ไฝ†ๆ˜ฏcaipacity ไปŽ 0 ๅผ€ๅง‹ ๅˆๅคช็บฏไบ†๏ผŒ ้‡‡็”จไบŒๅˆ†ๆณ•ๅŽป่ฏ•ๅฐฑๅพˆๅฅฝ๏ผŒlow = max(weights), hight = sum(weights) ''' def is_within(mid,D): c = 0 idx = 1 for weight in weights: c += weight if c > mid: c = weight idx += 1 if idx > D: return False return True low = max(weights) hight = sum(weights) while low < hight: mid = low + (hight - low) // 2 if is_within(mid, D): hight = mid else: low = mid + 1 return hight
a=int(input("enter the first number:")) b=int(input("enter the second number:")) s=(a&b) #sum print(s) u=(a/b) #or print(u) k=(~a) #not print(k) m=(a^b) #x-or print(m) o=(a<<b) #left shift print(o) t=(a>>b) #right shift print(t)
""" A person has X amount of money and wants to buy ice-creams. The cost of each ice-cream is Y. For every purchase of ice-creams he gets 1 unit of money which could be used to buy ice-creams. Find the number of ice-creams he can buy. """ class Solution: def approach2(self, money, cost_per_ice): ans = 0 while money > 0: if money < cost_per_ice: break ans += 1 money = money - cost_per_ice # he gets one coupon money += 1 return ans def get_max_num_ice_creams(self, money, cost_per_ice, ans=0): if money < cost_per_ice: return ans num_bought_ice = money // cost_per_ice ans += num_bought_ice money = money % cost_per_ice coupon_money = num_bought_ice money = money + coupon_money return self.get_max_num_ice_creams(money, cost_per_ice, ans) def get_num_ice_creams(self, money, cost_per_ice): return self.get_max_num_ice_creams(money, cost_per_ice) a = Solution() assert 4 == a.get_num_ice_creams(5, 2) assert 5 == a.get_num_ice_creams(6, 2) assert 4 == a.approach2(5, 2) assert 5 == a.approach2(6, 2)
# majicians=['alice','david','carolina'] # for majician in majicians: # print(F"{majician.title()},that was a great trick!") # print(f"I can't wait to see your next trick,{majician.title()}.\n") # majicians = ['alice', 'david', 'carolina'] # for majician in majicians: # print(f'{majician.title()}, that was a greate trick!') # print(f"I can't wait to see your next trick, {majician.title()}") # print() # majicians = ['alice', 'david', 'carolina'] # for majician in majicians: # print(f'{majician.title()}, that was a greate trick!') # print(f"I can't wait to see your next trick, {majician.title()}\n") # 4.2.1 # for majician in majicians: # print(majician) # print() # SyntaxError ่ฏญๆณ•้”™่ฏฏ # IndentationError ็ผฉ่ฟ›้”™่ฏฏ 1.ๅฐ‘ไบ†็ผฉ่ฟ› # IndexError ็ดขๅผ•่ถŠ็•Œ/่ถ…ๅ‡บ่Œƒๅ›ด # NameError ๅ˜้‡ๅœจไฝฟ็”จไน‹ๅ‰ๆฒกๆœ‰ๅฎšไน‰๏ผˆ้€šๅธธไนŸๅฏ่ƒฝๆ˜ฏๅ˜้‡ๆ‰“้”™ๅญ—ไบ†๏ผ‰ # TypeError ็ฑปๅž‹้”™่ฏฏ #nami = 12 #ๅฎšไน‰ไธ€ไธชๆ•ดๅž‹ๅ˜้‡ๅซname๏ผŒๅนถ่ต‹ๅ€ผไธบ12 # name = 12 # print(name) # 4.2.2 # ไธๅคชๅฏ่ƒฝ็Šฏ็š„้”™่ฏฏ๏ผŒๆƒณๆธ…ๆฅšๅพช็Žฏไฝ“ๅ†…ๅฎนๅฐฑๅฏไปฅไบ† # 4.2.3 # name = 12 # print(name) # 4.2.4 # ่ทŸ4.2.2็›ธๅ๏ผŒๆƒณๆธ…ๆฅšๅพช็Žฏไฝ“ๅ†…ๅฎนๅฐฑๅฏไปฅไบ† # 4.2.5 # for m in majicians # SyntaxError # print(m) # / ๆ–œๆ†๏ผŒ้™คๆณ• 2/3 # \ ๅๆ–œๆ ๏ผŒ้€šๅธธ็”จไบŽ่ฝฌไน‰ n # 4.3.3 # min max sum #print(max(majicians)) # 4.3.2 # r = range(0, 1_000_000, 1000) # a_big_list = list(r) # print(min(a_big_list)) # 4.3.4 # ็”จไธ€ไธชๅˆ—่กจ/่Œƒๅ›ดๆž„้€ ไธ€ไธชๆ–ฐๅˆ—่กจ # squares = [] # for i in range(1, 6): # squares.append(i ** 2) # print(squares) # [1, 2, 3, 4, 5] -> [1, 4, 9, 16, 25] squares = [i ** 2 for i in range(1, 6)] # [1, 2, 3, 4, 5] print(squares) # a = ['a', 'b', 'c'] # #b = ['aa', 'bb', 'cc'] # b = [i*2 for i in a] # print(b) # print('\n'.join([''.join([('GTYYX/'[(x-y)%len('GTYYX/')]if((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3<=0ย else'ย ')forย xย inย range(-30,30)])forย yย inย range(15,-15,-1)]))
class solve_day(object): with open('inputs/day07.txt', 'r') as f: data = f.readlines() # method for NOT operation def n(self, value): return 65535 + ~value + 1 def part1(self): wires = {} for d in self.data: d = d.strip() # print(f'input: \t\t{d}') try: operator = [x for x in ['AND','OR','NOT','RSHIFT','LSHIFT'] if x in d.split()][0] except: operator = '' # print(f'operator:\t{operator}') target_wire = d[[x+1 for x,v in enumerate(d) if v == ' '][-1:][0]:].strip() # print(f'target_wire:\t{target_wire}') # if len == 3, wire/value to wire; need to check it first value is digit or string if len(d.split()) == 3: # print(f'input: \t\t{d.strip()}') # print(f'operator:\t{operator}') # print(f'target_wire:\t{target_wire}') # print(d.split()) if d.split()[0].isdigit(): wires[target_wire] = int(d.split()[0]) else: try: wires[target_wire] = wires[d.split()[0]] except: pass # print('wires: \t{}') # print('\n') # if len == 4, NOT if len(d.split()) == 4: # print(f'input: \t\t{d.strip()}') # print(f'operator:\t{operator}') # print(f'target_wire:\t{target_wire}') try: wires[target_wire] = self.n(wires[d.split()[0]]) except: pass # print('\n') # if len == 5, AND OR LSHIFT RSHIFT if len(d.split()) == 5: # print(f'input: \t\t{d.strip()}') # print(f'operator:\t{operator}') # print(f'target_wire:\t{target_wire}') # handle for LSHIFT AND RSHIFT if operator == 'RSHIFT': try: wires[target_wire] = wires[d.split()[0]] >> int(d.split()[2]) except: pass if operator == 'LSHIFT': try: wires[target_wire] = wires[d.split()[0]] << int(d.split()[2]) except: pass # handle for digit digit if d.split()[0].isdigit() and d.split()[2].isdigit(): if operator == 'AND': wires[target_wire] = int(d.split()[0]) & int(d.split()[2]) if operator == 'OR': wires[target_wire] = int(d.split()[0]) | int(d.split()[2]) # handle for digit wire if d.split()[0].isdigit() and d.split()[2].isdigit()==False: if operator == 'AND': wires[target_wire] = wires[d.split()[0]] & int(d.split()[2]) if operator == 'OR': wires[target_wire] = wires[d.split()[0]] | int(d.split()[2]) # handle for wire digit if d.split()[0].isdigit()==False and d.split()[2].isdigit(): if operator == 'AND': wires[target_wire] = int(d.split()[0]) & wires[d.split()[2]] if operator == 'OR': wires[target_wire] = int(d.split()[0]) | wires[d.split()[2]] # handle for wire wire if d.split()[0].isdigit() and d.split()[2].isdigit(): if operator == 'AND': wires[target_wire] = wires[d.split()[0]] & wires[d.split()[2]] if operator == 'OR': wires[target_wire] = wires[d.split()[0]] | wires[d.split()[2]] # print('\n') # print('\n') return wires def part2(self): pass if __name__ == '__main__': s = solve_day() print(f'Part 1: {s.part1()}') print(f'Part 2: {s.part2()}')
# Function which adds two numbers def compute(num1, num2): return (num1 + num2)
def majuscule(chaine): whitelist = "abcdefghijklmnopqrstuvwxyz" chrs = [chr(ord(c) - 32) if c in whitelist else c for c in chaine] return "".join(chrs) print(majuscule("axel coezard")) def val2ascii(entier): ch = "" for i in range(entier): ch = chr(ord(ch) + 1) print(ch) val2ascii(355)
class Node(object): def __init__(self,data): self.data = data self.prev = None self.next = None class DoubleLinkedList(object): def __init__(self): self.head = None self.tail = None def prepend(self,data): node = Node(data) if not self.head: self.head = node self.tail = node else: node.next = self.head self.head.prev = node self.head = node def append(self,data): node = Node(data) if not self.head: self.head = node self.tail = node else: self.tail.next = node node.prev = self.tail self.tail = node def search(self,data): if not self.head: return False node = self.head while node: if node.data == data: return True node = node.next return False def remove(self,data): if not self.head: return False if self.head.data == data: if self.head == self.tail: self.head = None self.tail = None else: self.head = self.head.next self.head.prev = None return True node = self.head.next while node: if node.data == data: if node == self.tail: self.tail = self.tail.prev self.tail.next = None else: node.prev.next = node.next node.next.prev = node.prev return True node = node.next return False def traverse(self): node = self.head while node: print(node.data) node = node.next def reverse(self): node = self.tail while node: print(node.data) node = node.prev def size(self): node = self.head count = 0 while node: count +=1 node = node.next return count if __name__ == '__main__': list = DoubleLinkedList() list.append(2) list.append(4) list.append(6) list.append(7) list.append(9) list.append(10) print(list.remove(9)) list.traverse()
#!/usr/bin/python3 # -*-coding:utf-8-*- # for ่ฟญไปฃ็›ธๅ…ณ # forๅพช็Žฏๅฏไปฅ้ๅކไปปไฝ•ๅบๅˆ—็š„้กน็›ฎ๏ผŒๅฆ‚ไธ€ไธชๅˆ—่กจๆˆ–่€…ไธ€ไธชๅญ—็ฌฆไธฒ # rangeๅ‡ฝๆ•ฐ print(range(10)) print(range(3, 10)) print(range(3, 10, 2)) for a in range(10): print(a) print("------------------------------") for a in range(3, 10): print(a) print("------------------------------") for a in range(3, 10, 2): print(a) print("------------------------------") # ๆ‹“ๅฑ•๏ผš for a in range(10, 0, -2): print(a) aa = ["huangbo", "xuzheng", "wangbaoqiang", 44] print("------------------------------") # for ้ๅކๅˆ—่กจ๏ผš็ฌฌไธ€็ง๏ผŒไฝฟ็”จin่ฟ›่กŒ้ๅކ for a in aa: print(a) print("------------------------------") # for ้ๅކๅˆ—่กจ๏ผš็ฌฌไบŒ็ง๏ผŒไฝฟ็”จไธ‹ๆ ‡่ฟ›่กŒ้ๅކ for i in range(len(aa)): print(aa[i]) # ้ๅކๅญ—็ฌฆไธฒ for letter in "huangbo": print(letter) """ ๆœ‰ while โ€ฆ else ่ฏญๅฅ๏ผŒๅฝ“็„ถไนŸๆœ‰ for โ€ฆ else ่ฏญๅฅๅ•ฆ๏ผŒfor ไธญ็š„่ฏญๅฅๅ’Œๆ™ฎ้€š็š„ๆฒกๆœ‰ๅŒบๅˆซ๏ผŒ else ไธญ็š„่ฏญๅฅไผšๅœจๅพช็Žฏๆญฃๅธธๆ‰ง่กŒๅฎŒ๏ผˆๅณ for ไธๆ˜ฏ้€š่ฟ‡ break ่ทณๅ‡บ่€Œไธญๆ–ญ็š„๏ผ‰็š„ๆƒ…ๅ†ตไธ‹ๆ‰ง่กŒ๏ผŒwhile โ€ฆ else ไนŸๆ˜ฏไธ€ๆ ทใ€‚ """ for num in range(10, 20): # ่ฟญไปฃ 10 ๅˆฐ 20 ไน‹้—ด็š„ๆ•ฐๅญ— for i in range(2, num): # ๆ นๆฎๅ› ๅญ่ฟญไปฃ if num % i == 0: # ็กฎๅฎšๆ˜ฏๅฆ่ƒฝ้™คๅฐฝ๏ผŒ่ƒฝ้™คๅฐฝ๏ผŒๅˆ™่กจ็คบๆ˜ฏๅˆๆ•ฐ print('%d ๆ˜ฏไธ€ไธชๅˆๆ•ฐ' %num) break # ่ทณๅ‡บๅฝ“ๅ‰ๅพช็Žฏ else: # ๅพช็Žฏ็š„ else ้ƒจๅˆ† print('%d ๆ˜ฏไธ€ไธช่ดจๆ•ฐ' %num) ## ๆกไปถ่ฏญๅฅๅ’Œๅพช็Žฏ่ฏญๅฅ็ปผๅˆๅฎžไพ‹ # ๆ‰“ๅฐ99ไน˜ๆณ•่กจ for i in range(1, 10): for j in range(1, i+1): # ๆ‰“ๅฐ่ฏญๅฅไธญ๏ผŒๅคงๆ‹ฌๅทๅŠๅ…ถ้‡Œ้ข็š„ๅญ—็ฌฆ (็งฐไฝœๆ ผๅผๅŒ–ๅญ—ๆฎต) ๅฐ†ไผš่ขซ .format() ไธญ็š„ๅ‚ๆ•ฐๆ›ฟๆข,ๆณจๆ„ๆœ‰ไธช็‚น็š„ print("{0}*{1}={2}\t".format(i, j, i*j), end="") print() ## ไธ€ๅฅ่ฏๆ‰“ๅฐ99ไน˜ๆณ•่กจ print ('\n'.join([' '.join(['%s*%s=%-3s' % (y, x, x*y) for y in range(1, x+1)]) for x in range(1, 10)])) ## ๅˆคๆ–ญๆ˜ฏๅฆๆ˜ฏ ้—ฐๅนด year = int(input("่ฏท่พ“ๅ…ฅไธ€ไธชๅนดไปฝ: ")) if (year % 4) == 0 and (year % 100) != 0 or (year % 400) == 0: print('{0} ๆ˜ฏ้—ฐๅนด' .format(year)) else: print('{0} ไธๆ˜ฏ้—ฐๅนด' .format(year))
# ๆ–‡ไปถๅ็งฐ filename = '/home/yyh/Documents/VSCode_work/chapter10/guest_book.txt' # ๅพช็Žฏ while True: name = input("Please enter you name(to quit, please press quit): ") if name == 'quit': break else: print("Hello, " + name + "!") with open(filename, 'a') as file_object: file_object.write(name + "\n")
# Copyright [2019] [Christopher Syben, Markus Michen] # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # training parameters LEARNING_RATE = 1e-5 BATCH_SIZE_TRAIN = 50 NUM_TRAINING_SAMPLES = 800 MAX_TRAIN_STEPS = NUM_TRAINING_SAMPLES//BATCH_SIZE_TRAIN +1 BATCH_SIZE_VALIDATION = 50 NUM_VALIDATION_SAMPLES = 150 MAX_VALIDATION_STEPS = NUM_VALIDATION_SAMPLES//BATCH_SIZE_VALIDATION NUM_TEST_SAMPLES = 1 MAX_TEST_STEPS = NUM_TEST_SAMPLES MAX_EPOCHS = 700 #Path LOG_DIR = 'logs/' WEIGHTS_DIR = 'trained_models/'
BOOLEAN_OPTION_TYPE = ['false', 'true'] # Extracted from the documentation of clang-format version 13 # https://releases.llvm.org/13.0.0/tools/clang/docs/ClangFormatStyleOptions.html ALL_TUNEABLE_OPTIONS = { 'AccessModifierOffset': ['0', '-1', '-2', '-3', '-4'], 'AlignAfterOpenBracket': ['DontAlign', 'Align', 'AlwaysBreak'], 'AlignArrayOfStructures': ['None', 'Left', 'Right'], 'AlignConsecutiveAssignments': ['None', 'Consecutive', 'AcrossEmptyLines', 'AcrossComments', 'AcrossEmptyLinesAndComments'], 'AlignConsecutiveBitFields': ['None', 'Consecutive', 'AcrossEmptyLines', 'AcrossComments', 'AcrossEmptyLinesAndComments'], 'AlignConsecutiveDeclarations': ['None', 'Consecutive', 'AcrossEmptyLines', 'AcrossComments', 'AcrossEmptyLinesAndComments'], 'AlignConsecutiveMacros': ['None', 'Consecutive', 'AcrossEmptyLines', 'AcrossComments', 'AcrossEmptyLinesAndComments'], 'AlignEscapedNewlines': ['DontAlign', 'Left', 'Right'], 'AlignOperands': ['DontAlign', 'Align', 'AlignAfterOperator'], 'AlignTrailingComments': BOOLEAN_OPTION_TYPE, 'AllowAllArgumentsOnNextLine': BOOLEAN_OPTION_TYPE, 'AllowAllConstructorInitializersOnNextLine': BOOLEAN_OPTION_TYPE, 'AllowAllParametersOfDeclarationOnNextLine': BOOLEAN_OPTION_TYPE, 'AllowShortBlocksOnASingleLine': ['Never', 'Empty', 'Always'], 'AllowShortCaseLabelsOnASingleLine': BOOLEAN_OPTION_TYPE, 'AllowShortEnumsOnASingleLine': BOOLEAN_OPTION_TYPE, 'AllowShortFunctionsOnASingleLine': ['None', 'InlineOnly', 'Empty', 'Inline', 'All'], 'AllowShortIfStatementsOnASingleLine': ['Never', 'WithoutElse', 'OnlyFirstIf', 'AllIfsAndElse'], 'AllowShortLambdasOnASingleLine': ['None', 'Empty', 'Inline', 'All'], 'AllowShortLoopsOnASingleLine': BOOLEAN_OPTION_TYPE, 'AlwaysBreakAfterDefinitionReturnType': ['None', 'All', 'TopLevel'], 'AlwaysBreakAfterReturnType': ['None', 'All', 'TopLevel', 'AllDefinitions', 'TopLevelDefinitions'], 'AlwaysBreakBeforeMultilineStrings': BOOLEAN_OPTION_TYPE, 'AlwaysBreakTemplateDeclarations': ['No', 'MultiLine', 'Yes'], 'BinPackArguments': BOOLEAN_OPTION_TYPE, 'BinPackParameters': BOOLEAN_OPTION_TYPE, 'BitFieldColonSpacing': ['Both', 'None', 'Before', 'After'], 'BraceWrapping:AfterCaseLabel': BOOLEAN_OPTION_TYPE, 'BraceWrapping:AfterClass': BOOLEAN_OPTION_TYPE, 'BraceWrapping:AfterControlStatement': ['Never', 'MultiLine', 'Always'], 'BraceWrapping:AfterEnum': BOOLEAN_OPTION_TYPE, 'BraceWrapping:AfterFunction': BOOLEAN_OPTION_TYPE, 'BraceWrapping:AfterNamespace': BOOLEAN_OPTION_TYPE, 'BraceWrapping:AfterStruct': BOOLEAN_OPTION_TYPE, 'BraceWrapping:AfterUnion': BOOLEAN_OPTION_TYPE, 'BraceWrapping:BeforeCatch': BOOLEAN_OPTION_TYPE, 'BraceWrapping:BeforeElse': BOOLEAN_OPTION_TYPE, 'BraceWrapping:BeforeLambdaBody': BOOLEAN_OPTION_TYPE, 'BraceWrapping:BeforeWhile': BOOLEAN_OPTION_TYPE, 'BraceWrapping:IndentBraces': BOOLEAN_OPTION_TYPE, 'BraceWrapping:SplitEmptyFunction': BOOLEAN_OPTION_TYPE, 'BraceWrapping:SplitEmptyRecord': BOOLEAN_OPTION_TYPE, 'BraceWrapping:SplitEmptyNamespace': BOOLEAN_OPTION_TYPE, 'BreakBeforeBinaryOperators': ['None', 'NonAssignment', 'All'], 'BreakBeforeConceptDeclarations': BOOLEAN_OPTION_TYPE, 'BreakBeforeInheritanceComma': BOOLEAN_OPTION_TYPE, 'BreakBeforeTernaryOperators': BOOLEAN_OPTION_TYPE, 'BreakConstructorInitializersBeforeComma': BOOLEAN_OPTION_TYPE, 'BreakConstructorInitializers': ['BeforeColon', 'BeforeComma', 'AfterColon'], 'BreakInheritanceList': ['BeforeColon', 'BeforeComma', 'AfterColon', 'AfterComma'], 'BreakStringLiterals': BOOLEAN_OPTION_TYPE, 'ColumnLimit': ['78', '80', '90', '100', '120', '0'], 'CompactNamespaces': BOOLEAN_OPTION_TYPE, 'ConstructorInitializerAllOnOneLineOrOnePerLine': BOOLEAN_OPTION_TYPE, 'ConstructorInitializerIndentWidth': ['0', '2', '3', '4', '6', '8'], 'ContinuationIndentWidth': ['0', '2', '3', '4', '6', '8'], 'Cpp11BracedListStyle': BOOLEAN_OPTION_TYPE, 'EmptyLineAfterAccessModifier': ['Leave', 'Never', 'Always'], 'EmptyLineBeforeAccessModifier': ['Leave', 'Never', 'LogicalBlock', 'Always'], 'FixNamespaceComments': BOOLEAN_OPTION_TYPE, 'IncludeBlocks': ['Preserve', 'Merge', 'Regroup'], 'IndentAccessModifiers': BOOLEAN_OPTION_TYPE, 'IndentCaseBlocks': BOOLEAN_OPTION_TYPE, 'IndentCaseLabels': BOOLEAN_OPTION_TYPE, 'IndentExternBlock': ['NoIndent', 'Indent'], 'IndentGotoLabels': BOOLEAN_OPTION_TYPE, 'IndentPPDirectives': ['None', 'AfterHash', 'BeforeHash'], 'IndentRequires': BOOLEAN_OPTION_TYPE, 'IndentWidth': ['2', '3', '4', '8'], 'IndentWrappedFunctionNames': BOOLEAN_OPTION_TYPE, 'InsertTrailingCommas': ['None', 'Wrapped'], 'KeepEmptyLinesAtTheStartOfBlocks': BOOLEAN_OPTION_TYPE, 'LambdaBodyIndentation': ['Signature', 'OuterScope'], 'MaxEmptyLinesToKeep': ['0', '1', '2', '3'], 'NamespaceIndentation': ['None', 'Inner', 'All'], 'PenaltyBreakAssignment': ['2', '100', '1000'], 'PenaltyBreakBeforeFirstCallParameter': ['1', '19', '100'], 'PenaltyBreakComment': ['300'], 'PenaltyBreakFirstLessLess': ['120'], 'PenaltyBreakString': ['1000'], 'PenaltyBreakTemplateDeclaration': ['10'], 'PenaltyExcessCharacter': ['100', '1000000'], 'PenaltyReturnTypeOnItsOwnLine': ['60', '200', '1000'], 'PenaltyIndentedWhitespace': ['0', '1'], 'PointerAlignment': ['Left', 'Right', 'Middle'], 'ReferenceAlignment': ['Pointer', 'Left', 'Right', 'Middle'], 'ReflowComments': BOOLEAN_OPTION_TYPE, 'ShortNamespaceLines': ['0', '1'], 'SortIncludes': ['Never', 'CaseSensitive', 'CaseInsensitive'], 'SortUsingDeclarations': BOOLEAN_OPTION_TYPE, 'SpaceAfterCStyleCast': BOOLEAN_OPTION_TYPE, 'SpaceAfterLogicalNot': BOOLEAN_OPTION_TYPE, 'SpaceAfterTemplateKeyword': BOOLEAN_OPTION_TYPE, 'SpaceAroundPointerQualifiers': ['Default', 'Before', 'After', 'Both'], 'SpaceBeforeAssignmentOperators': BOOLEAN_OPTION_TYPE, 'SpaceBeforeCaseColon': BOOLEAN_OPTION_TYPE, 'SpaceBeforeCpp11BracedList': BOOLEAN_OPTION_TYPE, 'SpaceBeforeCtorInitializerColon': BOOLEAN_OPTION_TYPE, 'SpaceBeforeInheritanceColon': BOOLEAN_OPTION_TYPE, 'SpaceBeforeParens': ['Never', 'ControlStatements', 'ControlStatementsExceptControlMacros', 'NonEmptyParentheses', 'Always'], 'SpaceBeforeRangeBasedForLoopColon': BOOLEAN_OPTION_TYPE, 'SpaceInEmptyBlock': BOOLEAN_OPTION_TYPE, 'SpaceInEmptyParentheses': BOOLEAN_OPTION_TYPE, 'SpacesBeforeTrailingComments': ['0', '1'], 'SpacesInAngles': ['Leave', 'Never', 'Always'], 'SpacesInCStyleCastParentheses': BOOLEAN_OPTION_TYPE, 'SpacesInConditionalStatement': BOOLEAN_OPTION_TYPE, 'SpacesInContainerLiterals': BOOLEAN_OPTION_TYPE, 'SpacesInLineCommentPrefix:Minimum': ['0', '1'], 'SpacesInLineCommentPrefix:Maximum': ['0', '1', '-1'], 'SpacesInParentheses': BOOLEAN_OPTION_TYPE, 'SpacesInSquareBrackets': BOOLEAN_OPTION_TYPE, 'SpaceBeforeSquareBrackets': BOOLEAN_OPTION_TYPE, 'Standard': ['c++03', 'c++11', 'c++14', 'c++17', 'c++20', 'Latest'], 'UseTab': ['Never', 'ForIndentation', 'ForContinuationAndIndentation', 'AlignWithSpaces', 'Always'], } PRIORITY_OPTIONS = ['IndentWidth', 'UseTab', 'SortIncludes', 'IncludeBlocks']
{ 'variables': { 'node_shared_openssl%': 'true' }, 'targets': [ { 'target_name': 'ed25519', 'sources': [ 'src/ed25519/keypair.c', 'src/ed25519/sign.c', 'src/ed25519/open.c', 'src/ed25519/crypto_verify_32.c', 'src/ed25519/ge_double_scalarmult.c', 'src/ed25519/ge_frombytes.c', 'src/ed25519/ge_scalarmult_base.c', 'src/ed25519/ge_precomp_0.c', 'src/ed25519/ge_p2_0.c', 'src/ed25519/ge_p2_dbl.c', 'src/ed25519/ge_p3_0.c', 'src/ed25519/ge_p3_dbl.c', 'src/ed25519/ge_p3_to_p2.c', 'src/ed25519/ge_p3_to_cached.c', 'src/ed25519/ge_p3_tobytes.c', 'src/ed25519/ge_madd.c', 'src/ed25519/ge_add.c', 'src/ed25519/ge_msub.c', 'src/ed25519/ge_sub.c', 'src/ed25519/ge_p1p1_to_p3.c', 'src/ed25519/ge_p1p1_to_p2.c', 'src/ed25519/ge_tobytes.c', 'src/ed25519/fe_0.c', 'src/ed25519/fe_1.c', 'src/ed25519/fe_cmov.c', 'src/ed25519/fe_copy.c', 'src/ed25519/fe_neg.c', 'src/ed25519/fe_add.c', 'src/ed25519/fe_sub.c', 'src/ed25519/fe_mul.c', 'src/ed25519/fe_sq.c', 'src/ed25519/fe_sq2.c', 'src/ed25519/fe_invert.c', 'src/ed25519/fe_tobytes.c', 'src/ed25519/fe_isnegative.c', 'src/ed25519/fe_isnonzero.c', 'src/ed25519/fe_frombytes.c', 'src/ed25519/fe_pow22523.c', 'src/ed25519/sc_reduce.c', 'src/ed25519/sc_muladd.c', 'src/ed25519.cc' ], 'conditions': [ ['node_shared_openssl=="false"', { # so when "node_shared_openssl" is "false", then OpenSSL has been # bundled into the node executable. So we need to include the same # header files that were used when building node. 'include_dirs': [ '<(node_root_dir)/deps/openssl/openssl/include' ], "conditions": [ ["target_arch=='ia32'", { "include_dirs": ["<(node_root_dir)/deps/openssl/config/piii"] }], ["target_arch=='x64'", { "include_dirs": ["<(node_root_dir)/deps/openssl/config/k8"] }], ["target_arch=='arm'", { "include_dirs": ["<(node_root_dir)/deps/openssl/config/arm"] }] ] }], # https://github.com/TooTallNate/node-gyp/wiki/Linking-to-OpenSSL ['OS=="win"', { 'conditions': [ # "openssl_root" is the directory on Windows of the OpenSSL files. # Check the "target_arch" variable to set good default values for # both 64-bit and 32-bit builds of the module. ['target_arch=="x64"', { 'variables': { 'openssl_root%': 'C:/Program Files/OpenSSL-Win64' }, }, { 'variables': { 'openssl_root%': 'C:/Program Files (x86)/OpenSSL-Win32' }, }], ], 'libraries': [ '-l<(openssl_root)/lib/libssl.lib', ], 'include_dirs': [ '<(openssl_root)/include', ], }] ], 'include_dirs': [ "<!(node -e \"require('nan')\")" ] } ] }
def issorted(str1, str2): if len(str1) != len(str2): return False bool_b1 = [0] * 256 bool_b2 = [0] * 256 for i in range(len(str1)): bool_b1[ord(str1[i])] += 1 bool_b2[ord(str2[i])] += 1 if bool_b1 == bool_b2: return True else: return False #False print(issorted("aaa", "aaaa")) print(issorted("aaa", "bbb")) #True print(issorted("hell", "lleh")) print(issorted("mahiru", "urihma"))
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Sep 28 13:30:29 2021 @author: jr3 """ """ Write a Python program that takes as input a file containing DNA sequences in multi-FASTA format, and computes the answers to the following questions. You can choose to write one program with multiple functions to answer these questions, or you can write several programs to address them. We will provide a multi-FASTA file for you, and you will run your program to answer the exam questions. While developing your program(s), please use the following example file to test your work: dna.example.fasta You'll be given a different input file to launch the exam itself. Here are the questions your program needs to answer. The quiz itself contains the specific multiple-choice questions you need to answer for the file you will be provided. """ """ (1) How many records are in the file? A record in a FASTA file is defined as a single-line header,followed by lines of sequence data. The header line is distinguished from the sequence data by a greater-than (">") symbol in the first column. The word following the ">" symbol is the identifier of the sequence, and the rest of the line is an optional description of the entry. There should be no space between the ">" and the first letter of the identifier. """ # Solution to Part 1 begins here ----------------------------------------------------------------------------------------- try: f = open('dna.example.fasta','r') # opens fasta file except IOError: print('the example fasta file selected does not exist!!') f.seek(0) # initializes position of the "invisible cursor" seqs = {} seqs_lengths = {} count = 0; for line in f: # discard the new line at the end (if any) line = line.rstrip() # rstrip([chars]) returns a copy of the string with trailing characters chars removed #distinguish header from sequence if line[0] =='>': words = line.split() name = words[0][1:] seqs[name]='' count = count + 1; print(count) else: seqs[name] = seqs[name] + line seqs_lengths[name] = seqs[name] + line f.close() # Solution to Part 1 ends here ------------------------------------------------------------------------------------------ print("\n \n") """ (2) What are the lengths of the sequences in the file? What is the longest sequence and what is the shortest sequence? Is there more than one longest or shortest sequence? What are their identifiers? """ # Solution to Part 2 begins here ----------------------------------------------------------------------------------------- # prints sequence names and associated lengths for name, seq in seqs.items(): print("Sequence: ", name,"\nLength: ", len(seq),'\n') print('------------------------------------------------------------------------- \n') for name, seq in seqs.items(): length = len(seq) seqs_lengths[name] = [length] #displays values of sequence lengths in a dictionary 'seqs_lengths' #print(seqs_lengths.values(),'\n') longest_sequence = max(seqs_lengths.values()); scnd_longest_sequence = sorted(seqs_lengths.values())[1]; shortest_seqeunce = min(seqs_lengths.values()); scnd_shortest_sequence = sorted(seqs_lengths.values())[-2]; # prints longest sequence print("Length of longest sequence:", longest_sequence,'\n') # prints shortest sequence print("Length of shortest sequence:", shortest_seqeunce,'\n') # prints second element of sorted sequence length (second shortest) print("Length of 2nd longest sequence:", scnd_longest_sequence, '\n') # prints second-to-last element of sorted sequence length (second longest) print("Length of 2nd shortest sequence:", scnd_shortest_sequence, '\n') # # prints longest sequence # print("Length of longest sequence:", max(seqs_lengths.values()),'\n') # # prints shortest sequence # print("Length of shortest sequence:", min(seqs_lengths.values()),'\n') # # prints second element of sorted sequence length (second shortest) # print("Length of 2nd longest sequence:", sorted(seqs_lengths.values())[1]) # # prints second-to-last element of sorted sequence length (second longest) # print("Length of 2nd shortest sequence:", sorted(seqs_lengths.values())[-2]) # Solution to Part 2 ends here ------------------------------------------------------------------------------------------ """ (3) In molecular biology, a reading frame is a way of dividing the DNA sequence of nucleotides into a set of consecutive, non-overlapping triplets (or codons). Depending on where we start, there are six possible reading frames: three in the forward (5' to 3') direction and three in the reverse (3' to 5'). For instance, the three possible forward reading frames for the sequence AGGTGACACCGCAAGCCTTATATTAGC are: AGG TGA CAC CGC AAG CCT TAT ATT AGC A GGT GAC ACC GCA AGC CTT ATA TTA GC AG GTG ACA CCG CAA GCC TTA TAT TAG C These are called reading frames 1, 2, and 3 respectively. An open reading frame (ORF) is the part of a reading frame that has the potential to encode a protein. It starts with a start codon (ATG), and ends with a stop codon (TAA, TAG or TGA). For instance, ATGAAATAG is an ORF of length 9. Given an input reading frame on the forward strand (1, 2, or 3) your program should be able to identify all ORFs present in each sequence of the FASTA file, and answer the following questions: what is the length of the longest ORF in the file? # the ORF should include the starting and ending codons What is the identifier of the sequence containing the longest ORF? For a given sequence identifier, what is the longest ORF contained in the sequence represented by that identifier? What is the starting position of the longest ORF in the sequence that contains it? The position should indicate the character number in the sequence. For instance, the following ORF in reading frame 1: >sequence1 ATGCCCTAG starts at position 1. Note that because the following sequence: >sequence2 ATGAAAAAA does not have any stop codon in reading frame 1, we do not consider it to be an ORF in reading frame 1. """ # Solution to Part 3 begins here # for name, seq in seqs.items(): # print(seqs.values()) stop_codons = ['TAA','TAG','TGA'] example = 'ATGGATTAGCCGTAGAATT' for i in stop_codons: example = example.split(i) example = 'end'.join(example) if i == len(stop_codons): break print(example) example = example.split('ATG') example = 'start'.join(example) print(example) rf = example.split('start','end') rf = ''.join(rf) print(rf) # example = 'ATGGATTAGCCGTAGAATT' # after_stop = example.split('TAG') # notice the first and last elements of the resultant list # after_stop = 'stop'.join(after_stop) # print(after_stop) # # are not preceded (first element) and followed (last element) # # by the arguemnt passed into the .split method ('TAG') # # if an arugment that is not present in the sequence is # # passed to the .split method then the method will return the # # entire string / integers that were supposed to be split # after_stop = after_stop.join() # print(after_stop) # for i in after_stop: # after_start = split(after_stop, 'TAG','TAA', 'TGA') # print(after_start) # find indices of all potential stop codons in sequences # split the sequences by the stop codons # search the resultant lists for start codons # if the lists contents have stop codons, take the element and feed the latter part (after 'ATG' start codon # into another 'list inside a list' associated with the sequence considered) - these should be the # find indices of all start codons in sequences # # set the open reading frames in a dictionary for each sequence in "seqs" # create structure defining the reading frames as the distances between the nearest start codon and the stop codon, # using the stop codon as the reference (ensuring the reading frames being considered are open reading frames) # create RF dictionary with the identifiers and locations of the reading frames # calculate the lengths of the reading frames # calculate the length of the longest reading frame # create RF dictionary with the identifiers and the lengths of the reading frames # Solution to Part 3 ends here """ (4) A repeat is a substring of a DNA sequence that occurs in multiple copies (more than one) somewhere in the sequence. Although repeats can occur on both the forward and reverse strands of the DNA sequence, we will only consider repeats on the forward strand here. Also we will allow repeats to overlap themselves. For example, the sequence ACACA contains two copies of the sequence ACA - once at position 1 (index 0 in Python), and once at position 3. Given a length n, your program should be able to identify all repeats of length n in all sequences in the FASTA file. Your program should also determine how many times each repeat occurs in the file, and which is the most frequent repeat of a given length. """ # Solution to Part 4 begins here # Solution to Part 4 ends here
class Event: def __init__(self, name, payload): self.name = name self.payload = payload
""" Em uma competiรงรฃo de salto em distรขncia cada atleta tem direito a cinco saltos. O resultado do atleta serรก determinado pela mรฉdia dos cinco saltos. Vocรช deve fazer um programa que receba o nome e as cinco distรขncias alcanรงadas pelo atleta em seus saltos e depois informe o nome, os saltos e a mรฉdia dos saltos. O programa deve ser encerrado quando nรฃo for informado o nome do atleta. A saรญda do programa deve ser conforme o exemplo abaixo: Atleta: Rodrigo Curvรชllo Primeiro Salto: 6.5 m Segundo Salto: 6.1 m Terceiro Salto: 6.2 m Quarto Salto: 5.4 m Quinto Salto: 5.3 m Resultado final: Atleta: Rodrigo Curvรชllo Saltos: 6.5 - 6.1 - 6.2 - 5.4 - 5.3 Mรฉdia dos saltos: 5.9 """ saltos = [] registro = list() while True: nome = str(input('Nome: ')).title() for s in range(1, 3): saltos.append(float(input(f'{s}ยบ salto: '))) registro.append([nome, saltos[:], sum(saltos) / len(saltos)]) saltos.clear() while True: resposta = str(input('\nInserir um novo atleta? [S | N]: ')).upper().strip() if resposta not in 'NS' or resposta == '': print('Resposta invรกlida!') elif resposta == 'N': break else: print() break if resposta == 'N': break # --------------------- imprimindo ------------------------- # registro [ [nome, [5saltos], mรฉdia] , [nome, [5saltos], mรฉdia] ] #for c, a in enumerate(registro): # print(f'{c + 1} >>>> {a}') linha = '-' * 30 print() for atleta in registro: print(f'Nome: {atleta[0]:>5}\nSaltos: {atleta[1]}\nMรฉdia: {atleta[2]:.2f}\n{linha}\n')
alphabet = "abcdefghijklmnopqrstuvwxyz" class Scrambler(): """ Class to represent a rotor in the machine. """ def __init__(self, mapping, step_orientation=[0], orientation=0): self.orientation = orientation # integer representing current orientation of scrambler self.m = mapping # list of numbers specifying how to map from input to output characters (by addition) self.inverse_m = self.calculate_inverse_m() # list representing base mapping of scrambler in reverse direction self.step_orientation = step_orientation # tuple of orientations AFTER has caused next rotor to step on def calculate_inverse_m(self): """ From the original mapping, work out what the mapping is when you pass a character through in the other direction ie on the way back from the reflector """ inverse_m = [0]*len(alphabet) # initialise it at a list of zeros for i in range(len(alphabet)): result = self.m[i] new_map = len(alphabet) - result inverse_m[(result+i) % len(alphabet)] = new_map return inverse_m def encrypt_char_forward(self, integer): """ Calculate what happens when you pass a single character, represented as integer, through the scrambler """ current_wiring_f = self.m[self.orientation:] + self.m[:self.orientation] new_int = (integer + current_wiring_f[integer]) % len(alphabet) return new_int def encrypt_char_backward(self, integer): """ Calculate what happens when you pass a single character, represented as integer, through the scrambler backwards """ current_wiring_b = self.inverse_m[self.orientation:] + self.inverse_m[:self.orientation] new_int = (integer + current_wiring_b[integer]) % len(alphabet) return new_int def display_mapping(self): # prints out the alphabetic mapping (for debugging) cipher = "" for i in range(len(alphabet)): cipher += alphabet[self.encrypt_char_forward(i)] print(alphabet) print(cipher) class PairMap: """ Superclass for things that swap pairs of characters (the reflector and the plugboard) """ def __init__(self, mapping): self.m = mapping def encrypt_char(self, integer): """ Calculate what happens when you pass a single character, represented as integer, through the reflector/plugboard """ new_int = (integer + self.m[integer]) % len(alphabet) return new_int def display_mapping(self): # prints out the alphabetic mapping (for debugging) cipher = "" for i in range(len(alphabet)): cipher += alphabet[self.encrypt_char(i)] print(alphabet) print(cipher) class Reflector(PairMap): def __init__(self, mapping): PairMap.__init__(self, mapping) self.check = self.check_mapping() def check_mapping(self): """ Check that the mapping is a valid reflector, ie swaps pairs of characters """ check = True for i in range(len(self.m)): maps_to = (i + self.m[i]) % len(self.m) if (maps_to + self.m[maps_to]) % len(self.m) != i: check = False return check class Plugboard(PairMap): # note directionality is irrelevant for plugboard! def __init__(self, mapping): PairMap.__init__(self, mapping) self.check = self.check_mapping() def check_mapping(self): """ Check that the plugboard is valid, ie swaps pairs of characters """ check = True for i in range(len(self.m)): if self.m[i] != 0: maps_to = (i + self.m[i]) % len(self.m) if (maps_to + self.m[maps_to]) % len(self.m) != i: check = False return check class Machine: """ Class to represent a whole enigma machine, including what scramblers it contains, reflector and plugboard settings """ def __init__(self, scrambler_list, reflector=Reflector([0]*26), plugboard=Plugboard([0]*26)): self.s = scrambler_list self.ref = reflector self.plug = plugboard def increment_scramblers(self): """ Step on the scramblers. Always step the first, step the others if pushed on by the previous """ for i in range(len(self.s)): self.s[i].orientation = (self.s[i].orientation + 1) % len(alphabet) # increment orientation of s[i] if self.s[i].orientation not in self.s[i].step_orientation: # unless this means moving past push point break def loop_scramblers_f(self, num): """ Pass a character forward through however many scramblers there are in the machine """ for i in range(len(self.s)): num = self.s[i].encrypt_char_forward(num) return num def loops_scramblers_b(self, num): """ Pass a character back through however many scramblers there are in the machine """ for i in range(len(self.s)): num = self.s[len(self.s)-1 - i].encrypt_char_backward(num) return num def encrypt(self, plaintext): """ Do encryption! :param plaintext: plaintext message, String :return: ciphertext message, String """ ciphertext = "" for c in plaintext: self.increment_scramblers() initial_no = alphabet.find(c) # map the letter to its equivalent integer in the alphabet if c == " ": ciphertext += " " elif initial_no == -1: ciphertext += "*" else: num = self.plug.encrypt_char(initial_no) # plugboard forward num = self.loop_scramblers_f(num) # scrambler(s) forward if self.ref.m != [0]*len(alphabet): # not null num = self.ref.encrypt_char(num) # reflector num = self.loops_scramblers_b(num) # scramblers backward num = self.plug.encrypt_char(num) # plugboard backward ciphertext += alphabet[num] # map from integer back to letter using alphabet, add to ciphertext str else: ciphertext += alphabet[num] # map from integer back to letter using alphabet, add to ciphertext str return ciphertext # saved examples of real wartime scramblers, reflectors si = Scrambler([4, 9, 10, 2, 7, 1, 23, 9, 13, 16, 3, 8, 2, 9, 10, 18, 7, 3, 0, 22, 6, 13, 5, 20, 4, 10], [17]) sii = Scrambler([0, 8, 1, 7, 14, 3, 11, 13, 15, 18, 1, 22, 10, 6, 24, 13, 0, 15, 7, 20, 21, 3, 9, 24, 16, 5], [6]) siii = Scrambler([1, 2, 3, 4, 5, 6, 22, 8, 9, 10, 13, 10, 13, 0, 10, 15, 18, 5, 14, 7, 16, 17, 24, 21, 18, 15], [23]) siv = Scrambler([4, 17, 12, 18, 11, 20, 3, 19, 16, 7, 10, 23, 5, 20, 9, 22, 23, 14, 1, 13, 16, 8, 6, 15, 24, 2], [10]) sv = Scrambler([21, 24, 25, 14, 2, 3, 13, 17, 12, 6, 8, 18, 1, 20, 23, 8, 10, 5, 20, 16, 22, 19, 9, 7, 4, 11], [0]) svi = Scrambler([9, 14, 4, 18, 10, 15, 6, 24, 16, 7, 17, 19, 1, 20, 11, 2, 13, 19, 8, 25, 3, 16, 12, 5, 21, 23], [0, 14]) svii = Scrambler([13, 24, 7, 4, 2, 12, 22, 16, 4, 15, 8, 11, 15, 1, 6, 16, 10, 17, 3, 18, 21, 9, 14, 19, 5, 20], [0, 14]) sviii = Scrambler([5, 9, 14, 4, 15, 6, 17, 7, 20, 18, 25, 7, 3, 16, 11, 2, 10, 21, 12, 3, 19, 13, 24, 1, 8, 22], [0, 14]) ra = Reflector([4, 8, 10, 22, 22, 6, 18, 16, 13, 18, 12, 20, 16, 4, 2, 5, 24, 22, 1, 25, 21, 13, 14, 10, 8, 4]) rb = Reflector([24, 16, 18, 4, 12, 13, 5, 22, 7, 14, 3, 21, 2, 23, 24, 19, 14, 10, 13, 6, 8, 1, 25, 12, 2, 20]) rc = Reflector([5, 20, 13, 6, 4, 21, 8, 17, 22, 20, 7, 14, 11, 9, 18, 13, 3, 19, 2, 23, 24, 6, 17, 15, 9, 12]) rbt = Reflector([4, 12, 8, 13, 22, 15, 18, 15, 1, 25, 18, 3, 3, 14, 23, 23, 13, 6, 7, 2, 11, 24, 11, 20, 8, 19]) rct = Reflector([17, 2, 12, 24, 5, 8, 13, 3, 13, 21, 23, 1, 25, 18, 14, 7, 9, 9, 5, 13, 4, 13, 19, 21, 22, 17]) sx = Scrambler([0] * 26) # some useful blank/minimal ones for testing rx = Reflector([0] * 26) rt = Reflector([13] * 26) px = Plugboard([0] * 26) possible_scramblers = [si, sii, siii, siv, sv, svi, svii, sviii, sx] possible_reflectors = [ra, rb, rc, rbt, rct, rx, rt] # stuff needed for enigmaGUIbasic main_scrambler_list = [si, sii, siii] default_machine = Machine(main_scrambler_list, ra, px)
class Solution: def numDecodings(self, s): if not s: return 0 second_last, last = 0, 1 for i, ch in enumerate(s): ways = 0 curr = int(ch) # current number is not 0 if curr: # there is at least one way to decode ways = last # we are at the second number of further if i: prev = int(s[i-1]) # 10 <= s[prev:curr+1] <=26 if 1 <= prev < 2 or (prev == 2 and curr <= 6): ways += second_last # current number is 0 else: # string starts with zero if not i: return 0 prev = int(s[i-1]) # string contains 00 or 30, 40... if not prev or prev > 2: return 0 ways = second_last second_last, last = last, ways return last
def Divide(a,b): try: return (a/b) except ZeroDivisionError: print("\nHey!Dont be insane!\n") def Rem(a,b): try: return (a%b) except ZeroDivisionError: print("\nHey!Dont be insane!\n") print("Enter Operand1:\n") oper1=float(input()) print("Enter Operand2:\n") oper2=float(input()) while(True): print("\n") print("********MENU*********\n") print("1.Addition\n") print("2.Operand1-Operand2\n") print("3.Operand2-Operand1\n") print("4.Operand1 Multi Operand2\n") print("5.Operand1 / Operand2\n") print("6.opernad1 % Operand2\n") print("7.Operand2 / Operand1\n") print("8.Operand2 % Operand1\n") print("9.Operand1 ^ Operand2\n") print("10.Operand2 ^ Operand1\n") print("11.EXIT\n") print("\n\nEnter your Option:\n") ch=int(float(input())) if(ch>11 and ch<1): print("\nWrong Entery!!!\nRetry...") continue if(ch==1): print(oper1+oper2) continue if(ch==2): print(oper1-oper2) continue if(ch==3): print(oper2-oper1) continue if(ch==4): print(oper1*oper2) continue if(ch==5): x=Divide(oper1,oper2) if(x!=None): print(x) continue if(ch==6): x=Rem(oper1,oper2) if(x!=None): print(x) continue if(ch==7): x=Divide(oper2,oper1) if(x!=None): print(x) continue if(ch==8): x=Rem(oper2,oper1) if(x!=None): print(x) continue if(ch==9): print(oper1**oper2) continue if(ch==10): print(oper2**oper1) continue if(ch==11): print("\n****BYE***") exit()
#global Variable x = 100 def fun(x): #local scope of variable x = 3 + 2 return x local = fun(x) print(local) print(x)
# N๊ฐœ์˜ ์ž์—ฐ์ˆ˜๊ฐ€ ์ฃผ์–ด์งˆ ๋•Œ, ๊ฐ ์ˆ˜ M์— ๋Œ€ํ•˜์—ฌ M๋ฒˆ์งธ ์†Œ์ˆ˜๋ฅผ ๊ตฌํ•˜์‹œ์˜ค # Given N integers, for each integer M, find the Mth prime limit = 200000 primes = list(range(limit)) primes[0], primes[1] = 0, 0 for i in range(2, limit): if primes[i]: for j in range(i+i, limit, i): primes[j] = 0 primes = tuple(prime for prime in primes if prime) for _ in range(int(input())): print(primes[int(input())-1])
sqrt = lambda n: n ** .5 sqrt_5 = sqrt(5) phi = (1 + sqrt_5) / 2 psi = (1 - sqrt_5) / 2 fibonacci = lambda n: int(round((phi ** n - psi ** n) / sqrt_5)) for n in range(-12, 12): print(fibonacci(n))
class Solution(object): def calcEquation(self, equations, values, queries): """ :type equations: List[List[str]] :type values: List[float] :type queries: List[List[str]] :rtype: List[float] """ key_pairs = {} value_pairs = {} for i in xrange(len(equations)): equation = equations[i] if equation[0] not in key_pairs: key_pairs[equation[0]] = [] value_pairs[equation[0]] = [] if equation[1] not in value_pairs: key_pairs[equation[1]] = [] value_pairs[equation[1]] = [] key_pairs[equation[0]].append(equation[1]) key_pairs[equation[1]].append(equation[0]) value_pairs[equation[0]].append(values[i]) value_pairs[equation[1]].append(1.0 / values[i]) res = [] for query in queries: r = self.dfs(query[0], query[1], key_pairs, value_pairs, set(), 1.0) if r == 0.0: res.append(-1.0) else: res.append(r) return res def dfs(self, start, end, key_pairs, value_pairs, mid_set, value): if start in mid_set: return 0.0 if start not in key_pairs: return 0.0 if start == end: return value mid_set.add(start) str_list = key_pairs[start] value_list = value_pairs[start] temp = 0.0 for i in xrange(len(str_list)): temp = self.dfs(str_list[i], end, key_pairs, value_pairs, mid_set, value * value_list[i]) if temp != 0.0: break mid_set.remove(start) return temp
def originalSystemPrettyPrint(): var = "Original System \n\ny1' = 7 y3 + 4.5 y5 + -19.5 y1^2 -9.5 y1 y2 + -10 y1 y5 + -9.75 y1 y3 -9.75 y1 y4\n" + \ "y2' = 9 y4 + 4.5 y5 + -6 y2^2 -9.5 y1 y2 + -10 y3 y2 + -4 y5 y2 -1.75 y2 y4\n" + \ "y3' = 9.75 y1^2 -3.5 y3 + -9.75 y1 y3 + -19.5 y3^2 -10 y3 y2\n" + \ "y4' = 8 y2^2 -4.5 y4 + -9.75 y1 y4 + -1.75 y4 y2\n" + \ "y5' = 9.5 y1 y2 + -4.5 y5 -10 y5 y1 - 4 y5 y2" return var
# Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this value by its alphabetical position in the list to obtain a name score. # For example, when the list is sorted into alphabetical order, COLIN, which is worth 3 + 15 + 12 + 9 + 14 = 53, is the 938th name in the list. So, COLIN would obtain a score of 938 ร— 53 = 49714. # What is the total of all the name scores in the file? alphabet = { 'a':1, 'b':2, 'c':3, 'd':4, 'e':5, 'f':6, 'g':7, 'h':8, 'i':9, 'j':10, 'k':11, 'l':12, 'm':13, 'n':14, 'o':15, 'p':16, 'q':17, 'r':18, 's':19, 't':20, 'u':21, 'v':22, 'w':23, 'x':24, 'y':25, 'z':26, } def name_val(n): t = 0 for i in n.lower(): t += alphabet[i] return t with open("prob_extras/p022_names.txt") as f: raw_names = f.readline() names = sorted([name for name in raw_names.replace('"',"").split(",")]) scores = 0 for i, name in enumerate(names): scores += (i + 1) * name_val(name) # print(i+1, name, name_val(name)) print(scores)
class DataQueue: def __init__(self): self.data = [] def Add(self, unitData): self.Enqueue(unitData) self.Dequeue() def Enqueue(self, unitData): self.data.append(unitData) def Dequeue(self): self.data.pop(0)
QUIT_MSG = "go home, you're drunk" class CreativeQuitPlugin(object): name = "Creative quit plugin" def __init__(self, bot_instance): self.bot_instance = bot_instance def leave(self, user, channel): """ Wrapper around bot quit, since we have extra args per the plugin interface. """ self.bot_instance.leave(channel, reason="Hasta la vista!") @classmethod def install(cls, bot_instance): plugin = cls(bot_instance) return {QUIT_MSG: plugin.leave}
#!/usr/bin/python3 def print_matrix_integer(matrix=[[]]): if not matrix: print() else: for row in range(len(matrix)): for item in range(len(matrix[row])): if item != len(matrix[row]) - 1: endspace = ' ' else: endspace = '' print("{:d}".format(matrix[row][item]), end=endspace) print()
value = int(input()) def dumb_fib(n): if n < 3: return 1 else: return dumb_fib(n - 1) + dumb_fib(n - 2) print(dumb_fib(value + 1))
lst = [8, 3, 9, 6, 4, 7, 5, 2, 1] def main(): test(lst) def test(lst): line_one = [] reverse_line_two = lst shifted_num = [] reverse_line_two = reverse_line_two[::-1] limit = len(reverse_line_two) for i in range(limit): line_one.append(i + 1) line_one.pop(0) left = reverse_line_two[:i] right = reverse_line_two[i:] reverse_line_two1 = reverse_line_two[1:] for i in range(len(reverse_line_two1)): count = 0 if i == 0: for j in left: if j < reverse_line_two1[i]: count+=1 shifted_num.append(count) if i > 0: if line_one[i] % 2 == 1: if shifted_num[i-1]%2 ==0: for j in reverse_line_two[:reverse_line_two.index(line_one[i])]: if line_one[i] > j: count+=1 shifted_num.append(count) elif shifted_num[i-1]%2 ==1: for j in reverse_line_two[reverse_line_two.index(line_one[i]):]: if line_one[i] > j: count+=1 shifted_num.append(count) elif line_one[i] % 2 == 0: if (shifted_num[i-1]+shifted_num[i-2])%2 ==0: for j in reverse_line_two[:reverse_line_two.index(line_one[i])]: if line_one[i] > j: count+=1 shifted_num.append(count) if (shifted_num[i-1]+shifted_num[i-2])%2 ==1: for j in reverse_line_two[reverse_line_two.index(line_one[i]):]: if line_one[i] > j: count+=1 shifted_num.append(count) print(shifted_num) return shifted_num #def order(lst): if __name__ == '__main__': main()
n1 = float(input('Primeira nota: ')) n2 = float(input('Segunda nota: ')) media = (n1 + n2) / 2 print(f'Tirando {n1:.1f} e {n2:.1f}, a mรฉdia do aluno รฉ {media:.1f}') if media <= 5: print('O aluno estรก \033[31mREPROVADO\033[m!') elif media <= 6.9: print('O aluno estรก de \033[33mRECUPERAร‡รƒO\033[m!') elif media >= 7: print('O aluno estรก \033[32mAPROVADO\033[m!')
# -*- coding: utf-8 -*- """ Created on Sun Sep 3 23:45:39 2017 @author: ASUS This code snippet takes the complement and reverse of a DNA string """ string = 'GTGGTTACGCTCCCGGGGGGGTTCTACGTGCAGATACTGTTCGGGAAGAAGGAGGCACGTCAGGGAGCGCACCCCCCGGTCTACTTGACGGTGGTGAACGTTATCGGCTGGGCCATGTCGTGGAGATAGGAAGCAGGGGAAGTGTGTAAGACAAGTGTACGTGTGTGCATATCTTTTCGTTTGTATAATGTATCGCCAGTGTTATGTCAACCCTAATCCCGGGTATTAAGGAGACAGTCGTGGATTCAGAGGGGTGTCGTCGTGAGCTAGGGGACATTCTTGTAGCGGAGATATGACAACGAGACCGTTGAACATCTTAGTTTTAAGTCTCGCCTCACCTTCCTGGCAAGCTAAACCGGTGGTTCAGCGGTGTTTTGCCCACTTAACCGCCCACCGATTAAGCCATCGACCTACCGAGGTCGGATATAGTGGACCATAGTTACCAAGAATCACCTCAGGTCTGGGCTCATGAAAGGATTAAGGGGTATACAAAAGGCACACAGCCCATCTTACGTTGATCGAGGCGGATGGTTTAAAGGTCCCAGCTTACCTTTTTCCCTTAGACGTAGACTACCGTCGAGGGAGCTGAGAGATTTCAGCCGTATTAAACAACTGAAACCGTCCAACGATACTCATATTCTACGGTGCTCAAGGTGACCGCTGACGGTGATTCTTGACCCCCCTCACTATAGAACACCTCCTATCGCACGACACATTGTCGACTTTTGACCACCCCCGGTTCCCGGGTTTACCTAGAGATCTAGGAATCACTCAAATCGTCTCTCGTGGCGGTGTGCAATGCCAAGAAGAGAAACACTACGGTCGACGAGGGGGCCTGTTATTCTAGGGACGGTCGTGCAACTGCTCCGC' #Take the reverse reversed_string = string[::-1] #Create a dictionary complement_dict = {'A':'T','T':'A','G':'C','C':'G'} #Take the compelement of the reverse complement_reversed_string = "" for base in reversed_string: complement_reversed_string += complement_dict[base] print(complement_reversed_string)
def age_predict(): name = input("What is your name?\n") print("Hello " + name + " it is nice to meet you!") x = True while x: age = input("How old are you " + name + "?\n") if age.isnumeric(): x = False else: print("Please try again.") age_date = ((100 - (int(age))) + 2016) print(name + " will turn 100 in the year " + str(age_date) + "!") if ((int(age) % 2) == 0): print(age + " is an even number!") else: print(age + " is an odd number :(") if ((age_date % 3) == 0): print("The year " + str(age_date) + " is divisible by three!") else: print("The year " + str(age_date) + " is not divisible by three :(") print("The first letter of your name repeated " + age + " times is " + ( name[0] * int(age))) age_predict()
""" CONVERSรƒO DE MEDIDAS """ medida = float(input('Digite a quantidade de Metros: ')) print('Conversรฃo') print('\nCentimetros: {}cm'.format(medida*100)) print('\nMilรญmetros: {}mm'.format(medida*1000))
def get_eben(n: list): if sum(n) % 2 == 0: return int("".join(map(str, n))) num = n s = sum(num) while s % 2 != 0: s def main(): t = int(input()) for _ in range(t): length = int(input()) n = map(int, input().split()) print(get_eben(n)) if __name__=='__main__': main()
# encoding: utf-8 class Enum(object): @classmethod def get_keys(cls): return filter(lambda x: not x.startswith('_'), cls.__dict__.keys()) @classmethod def items(cls): return map(lambda x: (x, getattr(cls, x)), cls.get_keys()) @classmethod def get_values(cls): return map(lambda x: getattr(cls, x), cls.get_keys()) @classmethod def as_choices(cls): _choices = cls.get_values() choices = [] for choice in _choices: choices.append((choice, cls.get_key_from_value(choice))) return tuple(choices) @classmethod def inverted_choices(cls): _choices = cls.get_keys() choices = [] for choice in _choices: choices.append((choice, getattr(cls, choice))) return tuple(choices) @classmethod def get_key_from_value(cls, value): for key, v in cls.__dict__.items(): if value == v: return key @classmethod def get_value(cls, key): return getattr(cls, key)
def euro(b, m, c): czas = dict() mecze = dict() baza = dict() wynik = ['', float('inf')] for baz in b: baza[baz[0]] = baz[1] for mecz in m: if mecz[0] not in mecze.keys(): mecze[mecz[0]] = [mecz[2]] else: mecze[mecz[0]].append(mecz[2]) if mecz[1] not in mecze.keys(): mecze[mecz[1]] = [mecz[2]] else: mecze[mecz[1]].append(mecz[2]) for polaczenie in c: czas[repr(polaczenie[:2])] = int(polaczenie[2]) czas[repr(polaczenie[:2][::-1])] = int(polaczenie[2]) for druzyna, mlist in mecze.items(): podroze = 0 kwatera = baza[druzyna] for me in mlist: if me == kwatera: continue podroze += czas[repr([kwatera, me])] if podroze < wynik[1]: wynik[0] = druzyna wynik[1] = podroze return wynik[0] #euro([['A', 'M1'],['B', 'M2'],['C', 'M1'],['D', 'M3']], [['A', 'B', 'M1'],['A', 'C', 'M1'],['A', 'D', 'M3'],['B', 'C', 'M1'],['B', 'D', 'M3'],['C', 'D', 'M3']], [['M1', 'M2', '1'],['M1', 'M3', '5'], ['M2', 'M3', '6']]) #euro([['D1', 'M1'],['D2', 'M2'],['D3', 'M3'],['D4', 'M4']], [['D1', 'D3', 'M5'],['D2', 'D4', 'M6'],['D1', 'D2', 'M5'],['D3', 'D4', 'M6'],['D1', 'D4', 'M5'],['D2', 'D3', 'M6']], [['M1', 'M5', '20'],['M1', 'M6', '5'],['M2', 'M5', '15'],['M2', 'M6', '10'],['M3', 'M5', '25'], ['M3', 'M6', '20'], ['M4', 'M5', '20'],['M4', 'M6', '20']])
dataset_type = 'CocoDataset' data_root = '/work/u5216579/ctr/data/PCB_v3/'#'/home/u5216579/vf/data/coco/' #'data/coco/' img_norm_cfg = dict( #mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) mean=[38.720, 51.155, 40.22], std=[53.275, 52.273, 46.819], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations', with_bbox=True), dict(type='Resize', img_scale=(512, 512), keep_ratio=True), dict(type='Sharpness', prob=0.0, level=8), dict(type='Rotate', prob=0.75, level=10, max_rotate_angle=360), dict(type='Color', prob=0.6, level=6), dict(type='ColorTransform', level=4.0, prob=0.5), dict(type='BrightnessTransform', level=4.0, prob=0.5), dict(type='ContrastTransform', level=4.0, prob=0.5), dict(type='RandomFlip', flip_ratio=0.5), dict(type='Normalize', **img_norm_cfg), dict(type='Pad', size_divisor=32), dict(type='DefaultFormatBundle'), dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels']), ] test_pipeline = [ dict(type='LoadImageFromFile'), dict( type='MultiScaleFlipAug', img_scale=(512, 512), flip=False, transforms=[ dict(type='Resize', keep_ratio=True), dict(type='RandomFlip'), dict(type='Normalize', **img_norm_cfg), dict(type='Pad', size_divisor=32), dict(type='ImageToTensor', keys=['img']), dict(type='Collect', keys=['img']), ]) ] data = dict( samples_per_gpu=2, workers_per_gpu=2, #train=dict( # type=dataset_type, # ann_file=data_root + 'annotations/instances_train2017.json', # img_prefix=data_root + 'train2017/', # pipeline=train_pipeline), #val=dict( # type=dataset_type, # ann_file=data_root + 'annotations/instances_val2017.json', # img_prefix=data_root + 'val2017/', # pipeline=test_pipeline), #test=dict( # type=dataset_type, # ann_file=data_root + 'annotations/instances_val2017.json', # img_prefix=data_root + 'val2017/', # pipeline=test_pipeline)) train=dict( type=dataset_type, ann_file=data_root + 'annotations/train.json', img_prefix=data_root + 'train/', pipeline=train_pipeline, filter_empty_gt=False), val=dict( type=dataset_type, ann_file=data_root + 'annotations/val.json', img_prefix=data_root + 'val/', pipeline=test_pipeline), test=dict( type=dataset_type, ann_file=data_root + 'annotations/val.json', img_prefix=data_root + 'val/', pipeline=test_pipeline)) evaluation = dict(interval=1, metric='bbox')
def get_nd_par(ref_len, read_type, basecaller): if read_type: if read_type == "dRNA": return drna_nd_par(ref_len, basecaller) else: return cdna_nd_par(ref_len, read_type) else: return dna_nd_par(ref_len, basecaller) def seg_par(ref_len, changepoint): if ref_len > changepoint: xe2 = 0 xe3 = ref_len - changepoint else: xe2 = ref_len - changepoint xe3 = 0 xe1 = ref_len - changepoint return xe1, xe2, xe3 def dna_nd_par(ref_len, basecaller): if basecaller == "albacore": at_xe1, at_xe2, at_xe3 = seg_par(ref_len, 12) at_mu = 9.32968110 + 0.75215056 * at_xe1 + 0.01234263 * at_xe2 ** 2 - 0.02699184 * at_xe3 ** 2 at_sigma = 0.2507 * ref_len - 0.1510 cg_xe1, cg_xe2, cg_xe3 = seg_par(ref_len, 7) cg_mu = 4.76783156 + 0.21751512 * cg_xe1 - 0.10414613 * cg_xe2 ** 2 - 0.01647626 * cg_xe3 ** 2 cg_sigma = 0.1109 * ref_len + 0.8959 elif basecaller == "guppy": at_xe1, at_xe2, at_xe3 = seg_par(ref_len, 16) at_mu = 12.13283713 + 0.71843395 * at_xe1 + 0.00127124 * at_xe2 ** 2 - 0.01429113 * at_xe3 ** 2 at_sigma = 0.2138 * ref_len + 0.4799 cg_xe1, cg_xe2, cg_xe3 = seg_par(ref_len, 12) cg_mu = 6.13526513 + 0.21219760 * cg_xe1 - 0.01249273 * cg_xe2 ** 2 - 0.04870821 * cg_xe3 ** 2 cg_sigma = 0.3021 * ref_len - 0.06803 else: # guppy-flipflop at_xe1, at_xe2, at_xe3 = seg_par(ref_len, 12) at_mu = 9.65577227 + 0.92524095 * at_xe1 + 0.02814258 * at_xe2 ** 2 - 0.01666699 * at_xe3 ** 2 at_sigma = 0.2013 * ref_len + 0.2159 cg_xe1, cg_xe2, cg_xe3 = seg_par(ref_len, 14) cg_mu = 5.5402163422 - 0.0163232962 * cg_xe1 - 0.0205230566 * cg_xe2 ** 2 + 0.0009633945 * cg_xe3 ** 2 cg_sigma = 0.1514 * ref_len + 0.5611 return at_mu, at_sigma, at_mu, at_sigma, cg_mu, cg_sigma, cg_mu, cg_sigma def drna_nd_par(ref_len, basecaller): if basecaller == "albacore": a_xe1, a_xe2, a_xe3 = seg_par(ref_len, 15) a_mu = 7.920954923 + 0.060905864 * a_xe1 - 0.031587949 * a_xe2 ** 2 + 0.008346099 * a_xe3 ** 2 a_sigma = 0.21924 * ref_len + 0.08617 t_xe1, t_xe2, t_xe3 = seg_par(ref_len, 10) t_mu = 5.57952387 + 0.11981070 * t_xe1 - 0.05381813 * t_xe2 ** 2 - 0.01851555 * t_xe3 ** 2 t_sigma = 0.1438 * ref_len + 0.9004 c_xe1, c_xe2, c_xe3 = seg_par(ref_len, 6) c_mu = 4.34230221 + 0.23685824 * c_xe1 - 0.08072337 * c_xe2 ** 2 - 0.01720295 * c_xe3 ** 2 c_sigma = 0.06822 * ref_len + 0.87553 g_xe1, g_xe2, g_xe3 = seg_par(ref_len, 10) g_mu = 4.5110033642 + 0.1757467623 * g_xe1 - 0.0009943928 * g_xe2 ** 2 - 0.0915431864 * g_xe3 ** 2 g_sigma = 0.1066 * ref_len + 0.8223 else: # guppy a_xe1, a_xe2, a_xe3 = seg_par(ref_len, 16) a_mu = 10.619825093 + 0.367474710 * a_xe1 - 0.018351943 * a_xe2 ** 2 - 0.001138652 * a_xe3 ** 2 a_sigma = 0.3128 * ref_len - 0.6731 t_xe1, t_xe2, t_xe3 = seg_par(ref_len, 18) t_mu = 9.819245514 + 0.212176633 * t_xe1 - 0.016791683 * t_xe2 ** 2 - 0.001310379 * t_xe3 ** 2 t_sigma = 0.23963 * ref_len + 0.02851 c_xe1, c_xe2, c_xe3 = seg_par(ref_len, 9) c_mu = 4.873485405 + 0.006877753 * c_xe1 - 0.043582044 * c_xe2 ** 2 + 0.018552245 * c_xe3 ** 2 c_sigma = 0.07976 * ref_len + 0.67479 g_xe1, g_xe2, g_xe3 = seg_par(ref_len, 7) g_mu = 4.431945507 + 0.162662708 * g_xe1 - 0.070326449 * g_xe2 ** 2 + 0.004705819 * g_xe3 ** 2 g_sigma = 0.08815 * ref_len + 0.81112 return a_mu, a_sigma, t_mu, t_sigma, c_mu, c_sigma, g_mu, g_sigma def cdna_nd_par(ref_len, read_type): if read_type == "cDNA_1D": a_xe1, a_xe2, a_xe3 = seg_par(ref_len, 17) a_mu = 12.242619571 + 0.668226076 * a_xe1 + 0.001965846 * a_xe2 ** 2 - 0.026708831 * a_xe3 ** 2 a_sigma = 0.3703 * ref_len - 0.8779 t_xe1, t_xe2, t_xe3 = seg_par(ref_len, 14) t_mu = 11.979887272 + 1.005918453 * t_xe1 + 0.018442004 * t_xe2 ** 2 - 0.001733806 * t_xe3 ** 2 t_sigma = 0.2374 * ref_len + 0.0647 c_xe1, c_xe2, c_xe3 = seg_par(ref_len, 7) c_mu = 4.63015250 + 0.02288890 * c_xe1 - 0.13258183 * c_xe2 ** 2 + 0.01859354 * c_xe3 ** 2 c_sigma = 0.1805 * ref_len + 0.3770 g_xe1, g_xe2, g_xe3 = seg_par(ref_len, 6) g_mu = 4.26732085 + 0.18475982 * g_xe1 - 0.14151564 * g_xe2 ** 2 - 0.03719026 * g_xe3 ** 2 g_sigma = 0.1065 * ref_len + 0.8318 else: # cDNA 1D2 a_xe1, a_xe2, a_xe3 = seg_par(ref_len, 16) a_mu = 14.807216375 + 0.957883839 * a_xe1 + 0.003869761 * a_xe2 ** 2 - 0.027664685 * a_xe3 ** 2 a_sigma = 0.1842 * ref_len + 0.5642 t_xe1, t_xe2, at_xe3 = seg_par(ref_len, 12) t_mu = 11.281353708 + 1.039742281 * t_xe1 + 0.015074972 * t_xe2 ** 2 - 0.004161978 * at_xe3 ** 2 t_sigma = 0.1842 * ref_len + 0.5642 c_xe1, c_xe2, c_xe3 = seg_par(ref_len, 11) c_mu = 6.925880017 + 0.383403249 * c_xe1 - 0.003611025 * c_xe2 ** 2 - 0.038495472 * c_xe3 ** 2 c_sigma = 0.32113 * ref_len - 0.04017 g_xe1, g_xe2, g_xe3 = seg_par(ref_len, 14) g_mu = 9.10846385 + 0.68454921 * g_xe1 + 0.01769293 * g_xe2 ** 2 - 0.07252329 * g_xe3 ** 2 g_sigma = 0.32113 * ref_len - 0.04017 return a_mu, a_sigma, t_mu, t_sigma, c_mu, c_sigma, g_mu, g_sigma def get_hpmis_rate(read_type, basecaller): if read_type: if read_type == "dRNA": if basecaller == "albacore": return 0.041483 elif basecaller == "guppy": return 0.027234 elif read_type == "cDNA_1D": return 0.036122 else: # cDNA 1D2 return 0.040993 else: #DNA if basecaller == "albacore": return 0.02204 elif basecaller == "guppy": return 0.02166 elif basecaller == "guppy-flipflop": return 0.02215
if __name__ == "__main__": T = int(input().strip()) correct = 1 << 32 for _ in range(T): num = int(input().strip()) print(~num + correct)
def format_user(userdata, format): result = "" u = userdata["name"] if format == "greeting": result = "{}, {} {}".format(u["title"], u["first"], u["last"]) elif format == "short": result = "{}{}".format(u["title"], u["last"]) elif format == "country": result = userdata["nat"] elif format == "table": result = "{} | {} | {} | {}".format(u["first"], u["last"], u["title"], userdata["nat"]) else: result = "{} {}".format(u["first"], u["last"]) return result
""" DEVA AI Oversight Tool. Copyright 2021-2022 Gradient Institute Ltd. <info@gradientinstitute.org> """
t = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] print(t[3]) print(t[-99:-7]) print(t[-99:-5]) print(t[::])
SCHEMA = { "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "DEB_REPO_SCHEMA": { "type": "object", "required": [ "name", "uri", "suite", "section" ], "properties": { "name": { "type": "string" }, "type": { "type": "string", "enum": ["deb"] }, "uri": { "type": "string" }, "priority": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "suite": { "type": "string" }, "section": { "type": "array", "items": {"type": "string"} }, } }, "RPM_REPO_SCHEMA": { "type": "object", "required": [ "name", "uri", ], "properties": { "name": { "type": "string" }, "type": { "type": "string", "enum": ["rpm"] }, "uri": { "type": "string" }, "priority": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, } }, "REPO_SCHEMA": { "anyOf": [ {"$ref": "#/definitions/DEB_REPO_SCHEMA"}, {"$ref": "#/definitions/RPM_REPO_SCHEMA"} ] }, "REPOS_SCHEMA": { "type": "array", "items": {"$ref": "#/definitions/REPO_SCHEMA"} } }, "type": "object", "required": [ "groups", ], "properties": { "fuel_release_match": { "type": "object", "properties": { "operating_system": { "type": "string" } }, "required": [ "operating_system" ] }, "requirements": { "type": "object", "patternProperties": { "^[0-9a-z_-]+$": { "type": "object", "anyOf": [ {"required": ["packages"]}, {"required": ["repositories"]}, {"required": ["mandatory"]} ], "properties": { "repositories": { "type": "array", "items": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" }, "excludes": { "type": "array", "items": { "type": "object", "patternProperties": { r"[a-z][\w_]*": { "type": "string" } } } } } } }, "packages": { "type": "array", "items": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string" }, "versions": { "type": "array", "items": { "type": "string", "pattern": "^([<>]=?|=)\s+.+$" } } } } }, "mandatory": { "enum": ["exact", "newest"] } } } }, "additionalProperties": False, }, "groups": { "type": "object", "patternProperties": { "^[0-9a-z_-]+$": {"$ref": "#/definitions/REPOS_SCHEMA"} }, "additionalProperties": False, }, "inheritance": { "type": "object", "patternProperties": { "^[0-9a-z_-]+$": {"type": "string"} }, "additionalProperties": False, } } }
# -*- coding: utf-8 -*- # Author: Rodrigo E. Principe # Email: fitoprincipe82 at gmail # Make a prediction with weights # one vector has n elements # p = (element1*weight1) + (element2*weight2) + (elementn*weightn) + bias # if p >= 0; 1; 0 def predict(vector, bias, weights): pairs = zip(vector, weights) # [[element1, weight1], [..]] for (element, weight) in pairs: bias += element * weight return 1.0 if bias >= 0.0 else 0.0 # Estimate Perceptron weights using stochastic gradient descent def train_weights(train, l_rate, n_epoch, bias=0): first_vector = train[0][0] # weights = [0.0 for i in range(len(first_vector))] weights = [random() for i in range(len(first_vector))] # iterate over the epochs for epoch in range(n_epoch): # each epoch has a sum_error, starting at 0 sum_error = 0.0 for row in train: vector = row[0] expected = row[1] prediction = predict(vector, bias, weights) error = expected - prediction sum_error += error**2 # update activation (weights[0])) bias = bias + (l_rate * error) # update weights for i in range(len(vector)): # for each element of the vector weights[i] = weights[i] + (l_rate * error * vector[i]) # print('>epoch={}, lrate={}, error={}'.format(epoch, l_rate, sum_error)) return bias, weights # Perceptron Algorithm With Stochastic Gradient Descent def perceptron(train, test, l_rate, n_epoch): predictions = list() weights = train_weights(train, l_rate, n_epoch) for row in test: prediction = predict(row, weights) predictions.append(prediction) return(predictions)
# -*- coding: utf-8 -*- class GPSException(Exception): def __init__(self,*args): super(GPSException, self).__init__(*args) # From K6WRU via stackexchange : see https://ham.stackexchange.com/questions/221/how-can-one-convert-from-lat-long-to-grid-square/244#244 # Convert latitude and longitude to Maidenhead grid locators. # # Arguments are in signed decimal latitude and longitude. For example, # the location of my QTH Palo Alto, CA is: 37.429167, -122.138056 or # in degrees, minutes, and seconds: 37ยฐ 24' 49" N 122ยฐ 6' 26" W class LatLongToGridSquare(object): upper = 'ABCDEFGHIJKLMNOPQRSTUVWX' lower = 'abcdefghijklmnopqrstuvwx' @classmethod def to_grid(cls,dec_lat, dec_lon): if not (-180<=dec_lon<180): raise GPSException('longitude must be -180<=lon<180, given %f\n'%dec_lon) if not (-90<=dec_lat<90): raise GPSException('latitude must be -90<=lat<90, given %f\n'%dec_lat) adj_lat = dec_lat + 90.0 adj_lon = dec_lon + 180.0 grid_lat_sq = LatLongToGridSquare.upper[int(adj_lat/10)] grid_lon_sq = LatLongToGridSquare.upper[int(adj_lon/20)] grid_lat_field = str(int(adj_lat%10)) grid_lon_field = str(int((adj_lon/2)%10)) adj_lat_remainder = (adj_lat - int(adj_lat)) * 60 adj_lon_remainder = ((adj_lon) - int(adj_lon/2)*2) * 60 grid_lat_subsq = LatLongToGridSquare.lower[int(adj_lat_remainder/2.5)] grid_lon_subsq = LatLongToGridSquare.lower[int(adj_lon_remainder/5)] return grid_lon_sq + grid_lat_sq + grid_lon_field + grid_lat_field + grid_lon_subsq + grid_lat_subsq # GPS sentences are encoded @classmethod def convert_to_degrees(cls, gps_value, direction): if direction not in ['N','S','E','W']: raise GPSException("Invalid direction specifier for lat/long: {}".format(direction)) dir_mult = 1 if direction in ['S','W']: dir_mult = -1 if len(gps_value) < 3: raise GPSException("Invalid Value for lat/long: {}".format(gps_value)) dot_posn = gps_value.index('.') if dot_posn < 0: raise GPSException("Invalid Format for lat/long: {}".format(gps_value)) degrees = gps_value[0:dot_posn-2] mins = gps_value[dot_posn-2:] f_degrees = dir_mult * (float(degrees) + (float(mins) / 60.0)) return f_degrees @classmethod def GPGLL_to_grid(cls, GPSLLText): # example: $GPGLL,4740.99254,N,12212.31179,W,223311.00,A,A*70\r\n try: components = GPSLLText.split(",") if components[0]=='$GPGLL': del components[0] if components[5] != 'A': raise GPSException("Not a valid GPS fix") lat = LatLongToGridSquare.convert_to_degrees(components[0], components[1]) long = LatLongToGridSquare.convert_to_degrees(components[2], components [3]) grid = LatLongToGridSquare.to_grid(lat, long) except GPSException: grid = "" return grid
{ "variables": { "buffer_impl" : "<!(node -pe 'v=process.versions.node.split(\".\");v[0] > 0 || v[0] == 0 && v[1] >= 11 ? \"POS_0_11\" : \"PRE_0_11\"')", "callback_style" : "<!(node -pe 'v=process.versions.v8.split(\".\");v[0] > 3 || v[0] == 3 && v[1] >= 20 ? \"POS_3_20\" : \"PRE_3_20\"')" }, "targets": [ { "target_name": "openvg", "sources": [ "src/openvg.cc", "src/egl.cc" ], "defines": [ "NODE_BUFFER_TYPE_<(buffer_impl)", "TYPED_ARRAY_TYPE_<(buffer_impl)", "V8_CALLBACK_STYLE_<(callback_style)" ], "ldflags": [ "-lGLESv2 -lEGL -lOpenVG -lSDL2", ], "cflags": [ "-DENABLE_GDB_JIT_INTERFACE", "-Wall", "-I/usr/include/SDL2 -D_REENTRANT" ], }, { "target_name": "init-egl", "sources": [ "src/init-egl.cc" ], "ldflags": [ "-lGLESv2 -lEGL -lOpenVG -lSDL2", ], "cflags": [ "-DENABLE_GDB_JIT_INTERFACE", "-Wall", "-I/usr/include/SDL2 -D_REENTRANT" ], }, ] }
#method 'find' finds index positon of specified string #index position starts with 0 my_fruit = "My favorite fruit is apple".find('apple') print(my_fruit)
"""Constants for Seat Connect library.""" BASE_SESSION = 'https://msg.volkswagen.de' BASE_AUTH = 'https://identity.vwgroup.io' CLIENT_ID = '7f045eee-7003-4379-9968-9355ed2adb06%40apps_vw-dilab_com' XCLIENT_ID = '28cd30c6-dee7-4529-a0e6-b1e07ff90b79' XAPPVERSION = '3.2.6' XAPPNAME = 'es.seatauto.connect' USER_AGENT = 'okhttp/3.7.0' APP_URI = 'seatconnect://oidc.login/' HEADERS_SESSION = { 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Accept-charset': 'UTF-8', 'Accept': 'application/json', 'X-Client-Id': XCLIENT_ID, 'X-App-Version': XAPPVERSION, 'X-App-Name': XAPPNAME, 'User-Agent': USER_AGENT } HEADERS_AUTH = { 'Connection': 'keep-alive', 'Accept': 'application/json,text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,\ image/apng,*/*;q=0.8,application/signed-exchange;v=b3', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': USER_AGENT }
# File: Slicing_in_Python.py # Description: How to slice strings in Python # Environment: PyCharm and Anaconda environment # # MIT License # Copyright (c) 2018 Valentyn N Sichkar # github.com/sichkar-valentyn # # Reference to: # [1] Valentyn N Sichkar. Slicing in Python // GitHub platform [Electronic resource]. URL: https://github.com/sichkar-valentyn/Slicing_in_Python (date of access: XX.XX.XXXX) # Initial string dna = 'ATTCGGAGCT' # = '0123456789' # = 'A T T C G G A G C T' # = '(-10)(-9)(-8)(-7)(-6)(-5)(-4)(-3)(-2)(-1)' print(dna[1]) # Showing the 1 element - T print(dna[1:4]) # Showing the elements from 1 to 4 - TTC print(dna[:4]) # Showing the elements from 0 (beginning) to 4 - ATTC print(dna[4:]) # Showing the elements from 4th to the end - GGAGCT print(dna[-4:]) # Showing the elements from -4th counting from the end to the end - AGCT print(dna[1:-1]) # Showing the elements from 1 to -1th - TTCGGAGC print(dna[1:-1:2]) # Showing the elements from 1 to -1th with step 2 - TCGAG print(dna[::-1]) # Showing the elements from the beginning to the end in revers direction with step 1 - TCGAGGCTTA
# Escreva um programa que leia a velocidade de um carro. Se ele ultrapassar # 80km/h, mostre uma mensagem dizendo que ele foi multado. A multa vai custar # R$ 7,00 por cada Km acima do limite. velocidade = float(input('Velocidade: ')) if velocidade > 80: multa = (velocidade - 80) * 7 print('Limite excedido! Sua multa รฉ de R$ {:.2f}'.format(multa)) else: print('Vocรช estรก dentro do limite permitido!')
class Hund: def __init__(self, alder, vekt): self._alder = alder self._vekt = vekt self._metthet = 10 def hentAlder(self): return self._alder def hentVekt(self): return self._vekt def spring(self): self._metthet -= 1 if self._metthet < 5: self._vekt -= 1 def spis(self): self._metthet += 1 if self._metthet > 7: self._vekt += 1
# # PySNMP MIB module LLDP-EXT-DOT1-PE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LLDP-EXT-DOT1-PE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:57:50 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint") ifGeneralInformationGroup, = mibBuilder.importSymbols("IF-MIB", "ifGeneralInformationGroup") lldpXdot1StandAloneExtensions, = mibBuilder.importSymbols("LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB", "lldpXdot1StandAloneExtensions") lldpV2RemLocalDestMACAddress, lldpV2RemLocalIfIndex, lldpV2RemTimeMark, lldpV2RemIndex, lldpV2LocPortIfIndex, lldpV2Extensions, lldpV2PortConfigEntry = mibBuilder.importSymbols("LLDP-V2-MIB", "lldpV2RemLocalDestMACAddress", "lldpV2RemLocalIfIndex", "lldpV2RemTimeMark", "lldpV2RemIndex", "lldpV2LocPortIfIndex", "lldpV2Extensions", "lldpV2PortConfigEntry") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") iso, NotificationType, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, MibIdentifier, ModuleIdentity, Integer32, Counter64, Counter32, IpAddress, Bits, TimeTicks, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "MibIdentifier", "ModuleIdentity", "Integer32", "Counter64", "Counter32", "IpAddress", "Bits", "TimeTicks", "Gauge32") DisplayString, MacAddress, TextualConvention, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "MacAddress", "TextualConvention", "TruthValue") lldpXDot1PEExtensions = ModuleIdentity((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2)) lldpXDot1PEExtensions.setRevisions(('2012-01-23 00:00',)) if mibBuilder.loadTexts: lldpXDot1PEExtensions.setLastUpdated('201201230000Z') if mibBuilder.loadTexts: lldpXDot1PEExtensions.setOrganization('IEEE 802.1 Working Group') lldpXdot1PeMIB = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1)) lldpXdot1PeObjects = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1)) lldpXdot1PeConfig = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 1)) lldpXdot1PeLocalData = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 2)) lldpXdot1PeRemoteData = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 3)) lldpXdot1PeConfigPortExtensionTable = MibTable((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 1, 1), ) if mibBuilder.loadTexts: lldpXdot1PeConfigPortExtensionTable.setStatus('current') lldpXdot1PeConfigPortExtensionEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 1, 1, 1), ) lldpV2PortConfigEntry.registerAugmentions(("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeConfigPortExtensionEntry")) lldpXdot1PeConfigPortExtensionEntry.setIndexNames(*lldpV2PortConfigEntry.getIndexNames()) if mibBuilder.loadTexts: lldpXdot1PeConfigPortExtensionEntry.setStatus('current') lldpXdot1PeConfigPortExtensionTxEnable = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 1, 1, 1, 1), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lldpXdot1PeConfigPortExtensionTxEnable.setStatus('current') lldpXdot1PeLocPortExtensionTable = MibTable((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 2, 1), ) if mibBuilder.loadTexts: lldpXdot1PeLocPortExtensionTable.setStatus('current') lldpXdot1PeLocPortExtensionEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 2, 1, 1), ).setIndexNames((0, "LLDP-V2-MIB", "lldpV2LocPortIfIndex")) if mibBuilder.loadTexts: lldpXdot1PeLocPortExtensionEntry.setStatus('current') lldpXdot1PeLocPECascadePortPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: lldpXdot1PeLocPECascadePortPriority.setStatus('current') lldpXdot1PeLocPEAddress = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 2, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: lldpXdot1PeLocPEAddress.setStatus('current') lldpXdot1PeLocPECSPAddress = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 2, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: lldpXdot1PeLocPECSPAddress.setStatus('current') lldpXdot1PeRemPortExtensionTable = MibTable((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 3, 1), ) if mibBuilder.loadTexts: lldpXdot1PeRemPortExtensionTable.setStatus('current') lldpXdot1PeRemPortExtensionEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 3, 1, 1), ).setIndexNames((0, "LLDP-V2-MIB", "lldpV2RemTimeMark"), (0, "LLDP-V2-MIB", "lldpV2RemLocalIfIndex"), (0, "LLDP-V2-MIB", "lldpV2RemLocalDestMACAddress"), (0, "LLDP-V2-MIB", "lldpV2RemIndex")) if mibBuilder.loadTexts: lldpXdot1PeRemPortExtensionEntry.setStatus('current') lldpXdot1PeRemPECascadePortPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: lldpXdot1PeRemPECascadePortPriority.setStatus('current') lldpXdot1PeRemPEAddress = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 3, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: lldpXdot1PeRemPEAddress.setStatus('current') lldpXdot1PeRemPECSPAddress = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 1, 1, 3, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: lldpXdot1PeRemPECSPAddress.setStatus('current') lldpXdot1PeConformance = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 2)) lldpXdot1PeCompliances = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 2, 1)) lldpXdot1PeGroups = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 2, 2)) lldpXdot1PeCompliance = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 2, 1, 1)).setObjects(("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeGroup"), ("LLDP-EXT-DOT1-PE-MIB", "ifGeneralInformationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lldpXdot1PeCompliance = lldpXdot1PeCompliance.setStatus('current') lldpXdot1PeGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 13, 1, 5, 32962, 7, 2, 2, 2, 1)).setObjects(("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeConfigPortExtensionTxEnable"), ("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeLocPECascadePortPriority"), ("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeLocPEAddress"), ("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeLocPECSPAddress"), ("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeRemPECascadePortPriority"), ("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeRemPEAddress"), ("LLDP-EXT-DOT1-PE-MIB", "lldpXdot1PeRemPECSPAddress")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): lldpXdot1PeGroup = lldpXdot1PeGroup.setStatus('current') mibBuilder.exportSymbols("LLDP-EXT-DOT1-PE-MIB", lldpXdot1PeGroup=lldpXdot1PeGroup, lldpXdot1PeLocalData=lldpXdot1PeLocalData, lldpXdot1PeLocPECSPAddress=lldpXdot1PeLocPECSPAddress, lldpXdot1PeLocPortExtensionTable=lldpXdot1PeLocPortExtensionTable, lldpXdot1PeLocPEAddress=lldpXdot1PeLocPEAddress, lldpXdot1PeGroups=lldpXdot1PeGroups, lldpXdot1PeRemPEAddress=lldpXdot1PeRemPEAddress, lldpXdot1PeCompliance=lldpXdot1PeCompliance, lldpXDot1PEExtensions=lldpXDot1PEExtensions, lldpXdot1PeRemPortExtensionTable=lldpXdot1PeRemPortExtensionTable, lldpXdot1PeObjects=lldpXdot1PeObjects, lldpXdot1PeRemPECascadePortPriority=lldpXdot1PeRemPECascadePortPriority, lldpXdot1PeRemPortExtensionEntry=lldpXdot1PeRemPortExtensionEntry, lldpXdot1PeConfigPortExtensionTxEnable=lldpXdot1PeConfigPortExtensionTxEnable, PYSNMP_MODULE_ID=lldpXDot1PEExtensions, lldpXdot1PeConfigPortExtensionEntry=lldpXdot1PeConfigPortExtensionEntry, lldpXdot1PeMIB=lldpXdot1PeMIB, lldpXdot1PeCompliances=lldpXdot1PeCompliances, lldpXdot1PeRemoteData=lldpXdot1PeRemoteData, lldpXdot1PeConfigPortExtensionTable=lldpXdot1PeConfigPortExtensionTable, lldpXdot1PeLocPECascadePortPriority=lldpXdot1PeLocPECascadePortPriority, lldpXdot1PeLocPortExtensionEntry=lldpXdot1PeLocPortExtensionEntry, lldpXdot1PeRemPECSPAddress=lldpXdot1PeRemPECSPAddress, lldpXdot1PeConformance=lldpXdot1PeConformance, lldpXdot1PeConfig=lldpXdot1PeConfig)
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: output = ListNode(None) outputPointer = output carry = 0 pointer1, pointer2 = l1, l2 while pointer1 or pointer2: if pointer1 and pointer2: new = pointer1.val + pointer2.val elif pointer1: new = pointer1.val elif pointer2: new = pointer2.val new += carry if new >= 10: carry = int(new / 10) new -= 10 else: carry = 0 outputPointer.next = ListNode(new) outputPointer = outputPointer.next pointer1 = pointer1.next if pointer1 else None pointer2 = pointer2.next if pointer2 else None if carry > 0: outputPointer.next = ListNode(carry) return output.next
"""Messages used in the code that can or can't be used repeatedly.""" def welcome(): """Welcoming message of the game.""" print("BLACKJACK IN PYTHON!") print() print("โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”") print("โ”‚ A โ”‚ โ”‚ J โ”‚") print("โ”‚ โ”‚ โ”‚ โ”‚") print("โ”‚ โ”‚ โ”‚ โ”‚") print("โ”‚ โ™  โ”‚ โ”‚ โ™  โ”‚") print("โ”‚ โ”‚ โ”‚ โ”‚") print("โ”‚ โ”‚ โ”‚ โ”‚") print("โ”‚ A โ”‚ โ”‚ J โ”‚") print("โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜") def rules(): """Rules of the game.""" # title print("RULES OF THE GAME") print() # brief description print( "In this simplified version of a game of blackjack you will play against " "a computer Dealer." ) print() # overview print( "When you start the game, you will begin with $200 and you'll need to place a " "bet so the computer can start dealing the cards. After that you can choose " "at each round to either 'Hit' to receive another card or 'Stay' to stop " "receiving more cards." ) print() # quick note print( "NOTE: If you choose to 'Stay', the computer will only deal cards to itself " "as long as it's total value in hand is lower than 18." ) print() # win/lose/tie conditions print( "You win a round by having the closest value in cards to the number 21, " "receiving double the betted amount." ) print( "You lose if the dealer ends up with a higher value in cards than you, " "losing the betted amount." ) print( "A tie can also happen if both player and dealer have the same value in " "cards, returning your original betted amount to you." ) print() # value of cards print("The value of the cards are as follows, from lower to higher:") print() print("Two = 2") print("Three = 3") print("Four = 4") print("Five = 5") print("Six = 6") print("Seven = 7") print("Eight = 8") print("Nine = 9") print("Ten = 10") print("Jack = 10") print("Queen = 10") print("King = 10") print("Ace = 1 or 11 (depending on what is best for the player to hit 21)") print() # ask the player for input to continue the game input("Please, press Enter to continue! ") def win(): """Win message.""" print("โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ”") print("โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚") print("โ””โ”€โ”€โ” โ”Œโ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚") print(" โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”˜ โ””โ”€โ”˜ โ””โ”€โ”˜") print(" โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ””โ”€โ”˜ โ””โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ”") print(" โ””โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”˜ โ””โ”€โ”˜ โ””โ”€โ”˜ โ””โ”€โ”˜ โ””โ”€โ”˜ โ””โ”€โ”˜") def lose(): """Lose message.""" print("โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”") print("โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ” โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ” โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”˜") print("โ””โ”€โ”€โ” โ”Œโ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”") print(" โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”˜") print(" โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ””โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”") print(" โ””โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜")
class Trackable(object): def __init__(self, name): self.name = name print('CREATE {}'.format(name)) def __del__(self): print('DELETE {}'.format(self.name))
CURRENCY_ALGO = "ALGO" EXCHANGE_ALGORAND_BLOCKCHAIN = "algorand_blockchain" TRANSACTION_TYPE_PAYMENT = "pay" TRANSACTION_TYPE_ASSET_TRANSFER = "axfer" TRANSACTION_TYPE_APP_CALL = "appl" APPLICATION_ID_TINYMAN_v10 = 350338509 APPLICATION_ID_TINYMAN_v11 = 552635992 APPLICATION_ID_YIELDLY = 233725848 APPLICATION_ID_YIELDLY_NLL = 233725844 APPLICATION_ID_YIELDLY_YLDY_ALGO_POOL = 233725850 APPLICATION_ID_YIELDLY_YLDY_OPUL_POOL = 348079765 APPLICATION_ID_YIELDLY_OPUL_OPUL_POOL = 367431051 APPLICATION_ID_YIELDLY_YLDY_SMILE_POOL = 352116819 APPLICATION_ID_YIELDLY_SMILE_SMILE_POOL = 373819681 APPLICATION_ID_YIELDLY_YLDY_ARCC_POOL = 385089192 APPLICATION_ID_YIELDLY_ARRC_ARCC_POOL = 498747685 APPLICATION_ID_YIELDLY_YLDY_GEMS_POOL = 393388133 APPLICATION_ID_YIELDLY_GEMS_GEMS_POOL = 419301793 APPLICATION_ID_YIELDLY_YLDY_XET_POOL = 424101057 APPLICATION_ID_YIELDLY_XET_XET_POOL = 470390215 APPLICATION_ID_YIELDLY_YLDY_CHOICE_POOL = 447336112 APPLICATION_ID_YIELDLY_CHOICE_CHOICE_POOL = 464365150 APPLICATION_ID_YIELDLY_YLDY_AKITA_POOL = 511597182 APPLICATION_ID_YIELDLY_AKITA_LP_POOL = 511593477 YIELDLY_APPLICATIONS = [ APPLICATION_ID_YIELDLY, APPLICATION_ID_YIELDLY_NLL, APPLICATION_ID_YIELDLY_YLDY_ALGO_POOL, APPLICATION_ID_YIELDLY_YLDY_OPUL_POOL, APPLICATION_ID_YIELDLY_OPUL_OPUL_POOL, APPLICATION_ID_YIELDLY_YLDY_SMILE_POOL, APPLICATION_ID_YIELDLY_SMILE_SMILE_POOL, APPLICATION_ID_YIELDLY_YLDY_ARCC_POOL, APPLICATION_ID_YIELDLY_ARRC_ARCC_POOL, APPLICATION_ID_YIELDLY_YLDY_GEMS_POOL, APPLICATION_ID_YIELDLY_GEMS_GEMS_POOL, APPLICATION_ID_YIELDLY_YLDY_XET_POOL, APPLICATION_ID_YIELDLY_XET_XET_POOL, APPLICATION_ID_YIELDLY_YLDY_CHOICE_POOL, APPLICATION_ID_YIELDLY_CHOICE_CHOICE_POOL, APPLICATION_ID_YIELDLY_YLDY_AKITA_POOL, APPLICATION_ID_YIELDLY_AKITA_LP_POOL, ] TINYMAN_TRANSACTION_SWAP = "c3dhcA==" TINYMAN_TRANSACTION_LP_ADD = "bWludA==" TINYMAN_TRANSACTION_LP_REMOVE = "YnVybg==" YIELDLY_TRANSACTION_POOL_CLAIM = "Q0E=" YIELDLY_TRANSACTION_POOL_CLOSE = "Q0FX"
#--- Exercicio 2 - Impressรฃo de dados com a funรงรฃo Input #--- Imprima o menu de uma aplicaรงรฃo de cadastro de pessoas #--- O menu deve conter as opรงรตes de Cadastrar, Alterar, listar pessoas, alem da opรงรฃo sair print ('=='*50) print (' ', 'Bem vindo' ' ') print ('Para cadastrar digite 1') print ('Para alterar algo no cadastro digite 2') print ('Para ver os ja cadastrados digite 3 ') print ('Para sair digite 4') print ('=='*50)
XK_emspace = 0xaa1 XK_enspace = 0xaa2 XK_em3space = 0xaa3 XK_em4space = 0xaa4 XK_digitspace = 0xaa5 XK_punctspace = 0xaa6 XK_thinspace = 0xaa7 XK_hairspace = 0xaa8 XK_emdash = 0xaa9 XK_endash = 0xaaa XK_signifblank = 0xaac XK_ellipsis = 0xaae XK_doubbaselinedot = 0xaaf XK_onethird = 0xab0 XK_twothirds = 0xab1 XK_onefifth = 0xab2 XK_twofifths = 0xab3 XK_threefifths = 0xab4 XK_fourfifths = 0xab5 XK_onesixth = 0xab6 XK_fivesixths = 0xab7 XK_careof = 0xab8 XK_figdash = 0xabb XK_leftanglebracket = 0xabc XK_decimalpoint = 0xabd XK_rightanglebracket = 0xabe XK_marker = 0xabf XK_oneeighth = 0xac3 XK_threeeighths = 0xac4 XK_fiveeighths = 0xac5 XK_seveneighths = 0xac6 XK_trademark = 0xac9 XK_signaturemark = 0xaca XK_trademarkincircle = 0xacb XK_leftopentriangle = 0xacc XK_rightopentriangle = 0xacd XK_emopencircle = 0xace XK_emopenrectangle = 0xacf XK_leftsinglequotemark = 0xad0 XK_rightsinglequotemark = 0xad1 XK_leftdoublequotemark = 0xad2 XK_rightdoublequotemark = 0xad3 XK_prescription = 0xad4 XK_minutes = 0xad6 XK_seconds = 0xad7 XK_latincross = 0xad9 XK_hexagram = 0xada XK_filledrectbullet = 0xadb XK_filledlefttribullet = 0xadc XK_filledrighttribullet = 0xadd XK_emfilledcircle = 0xade XK_emfilledrect = 0xadf XK_enopencircbullet = 0xae0 XK_enopensquarebullet = 0xae1 XK_openrectbullet = 0xae2 XK_opentribulletup = 0xae3 XK_opentribulletdown = 0xae4 XK_openstar = 0xae5 XK_enfilledcircbullet = 0xae6 XK_enfilledsqbullet = 0xae7 XK_filledtribulletup = 0xae8 XK_filledtribulletdown = 0xae9 XK_leftpointer = 0xaea XK_rightpointer = 0xaeb XK_club = 0xaec XK_diamond = 0xaed XK_heart = 0xaee XK_maltesecross = 0xaf0 XK_dagger = 0xaf1 XK_doubledagger = 0xaf2 XK_checkmark = 0xaf3 XK_ballotcross = 0xaf4 XK_musicalsharp = 0xaf5 XK_musicalflat = 0xaf6 XK_malesymbol = 0xaf7 XK_femalesymbol = 0xaf8 XK_telephone = 0xaf9 XK_telephonerecorder = 0xafa XK_phonographcopyright = 0xafb XK_caret = 0xafc XK_singlelowquotemark = 0xafd XK_doublelowquotemark = 0xafe XK_cursor = 0xaff
firstname = str(input("Enter your first name: ")) lastname = str(input("Enter your last name: ")) print("Initials: " + firstname[0] + "." + lastname[0] + ".")
""" The module for training the SVM classifer. """ def train(database_num=3): """ use SVM provided by sklearn with databases to train the classifier and dump it into a pickle. :param database_num: 3 means NUAA, CASIA, REPLAY-ATTACK; 2 means CASIA, REPLAY-ATTACK. """
POST_JSON_RESPONSES = { '/auth/realms/test/protocol/openid-connect/token': { 'access_token': '54604e3b-4d6a-419d-9173-4b1af0530bfb', 'token_type': 'bearer', 'expires_in': 42695, 'scope': 'read write'}, '/v2/observations': { 'dimensionDeclarations': [ { 'name': 'study', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ { 'name': 'name', 'type': 'String' } ] }, { 'name': 'concept', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ { 'name': 'conceptPath', 'type': 'String' }, { 'name': 'conceptCode', 'type': 'String' }, { 'name': 'name', 'type': 'String' } ] }, { 'name': 'patient', 'dimensionType': 'subject', 'sortIndex': 1, 'valueType': 'Object', 'fields': [ { 'name': 'id', 'type': 'Int' }, { 'name': 'trial', 'type': 'String' }, { 'name': 'inTrialId', 'type': 'String' }, { 'name': 'subjectIds', 'type': 'Object' }, { 'name': 'birthDate', 'type': 'Timestamp' }, { 'name': 'deathDate', 'type': 'Timestamp' }, { 'name': 'age', 'type': 'Int' }, { 'name': 'race', 'type': 'String' }, { 'name': 'maritalStatus', 'type': 'String' }, { 'name': 'religion', 'type': 'String' }, { 'name': 'sexCd', 'type': 'String' }, { 'name': 'sex', 'type': 'String' } ] }, { 'name': 'visit', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ { 'name': 'id', 'type': 'Int' }, { 'name': 'activeStatusCd', 'type': 'String' }, { 'name': 'startDate', 'type': 'Timestamp' }, { 'name': 'endDate', 'type': 'Timestamp' }, { 'name': 'inoutCd', 'type': 'String' }, { 'name': 'locationCd', 'type': 'String' }, { 'name': 'encounterIds', 'type': 'Object' } ] }, { 'name': 'start time', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Timestamp', 'inline': 'true' }, { 'name': 'end time', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Timestamp', 'inline': 'true' }, { 'name': 'location', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'String', 'inline': 'true' }, { 'name': 'trial visit', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ { 'name': 'id', 'type': 'Int' }, { 'name': 'studyId', 'type': 'String' }, { 'name': 'relTimeLabel', 'type': 'String' }, { 'name': 'relTimeUnit', 'type': 'String' }, { 'name': 'relTime', 'type': 'Int' } ] }, { 'name': 'provider', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'String' }, { 'name': 'sample_type', 'dimensionType': None, 'sortIndex': None, 'valueType': 'String' }, { 'name': 'missing_value', 'dimensionType': None, 'sortIndex': None, 'valueType': 'String' }, { 'name': 'Diagnosis ID', 'dimensionType': 'subject', 'sortIndex': 2, 'valueType': 'String', 'modifierCode': 'CSR_DIAGNOSIS_MOD' }], 'sort': [{ 'dimension': 'concept', 'sortOrder': 'asc' }, { 'dimension': 'provider', 'sortOrder': 'asc' }, { 'dimension': 'patient', 'sortOrder': 'asc' }, { 'dimension': 'visit', 'sortOrder': 'asc' }, { 'dimension': 'start time', 'sortOrder': 'asc' }], 'cells': [{ 'inlineDimensions': [ '2019-05-05 11:11:11', '2019-07-05 11:11:11', '@' ], 'dimensionIndexes': [ 0, 0, 1, 0, 0, None, None, None, 0 ], 'numericValue': 20 }, { 'inlineDimensions': [ '2019-07-22 12:00:00', None, '@' ], 'dimensionIndexes': [ 0, 1, 0, None, 0, None, None, None, None ], 'stringValue': 'Caucasian' }, { 'inlineDimensions': [ None, None, '@' ], 'dimensionIndexes': [ 0, 2, 0, None, 0, None, None, None, None ], 'stringValue': 'Female' } ], 'dimensionElements': { 'study': [ { 'name': 'CATEGORICAL_VALUES' } ], 'concept': [ { 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Age\\', 'conceptCode': 'CV:DEM:AGE', 'name': 'Age' }, { 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Race\\', 'conceptCode': 'CV:DEM:RACE', 'name': 'Race' }, { 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Gender\\Female\\', 'conceptCode': 'CV:DEM:SEX:F', 'name': 'Female' } ], 'patient': [ { 'id': 1, 'trial': 'CATEGORICAL_VALUES', 'inTrialId': '3', 'subjectIds': { 'SUBJ_ID': 'CV:40' }, 'birthDate': None, 'deathDate': None, 'age': 20, 'race': 'Caucasian', 'maritalStatus': None, 'religion': None, 'sexCd': 'Female', 'sex': 'female' }, { 'id': 2, 'trial': 'CATEGORICAL_VALUES', 'inTrialId': '3', 'subjectIds': { 'SUBJ_ID': 'CV:12' }, 'birthDate': None, 'deathDate': None, 'age': 28, 'race': 'Caucasian', 'maritalStatus': None, 'religion': None, 'sexCd': 'Female', 'sex': 'male' } ], 'visit': [ { 'id': 1, 'patientId': 1, 'activeStatusCd': None, 'startDate': '2016-03-29T09:00:00Z', 'endDate': '2016-03-29T11:00:00Z', 'inoutCd': None, 'locationCd': None, 'lengthOfStay': None, 'encounterIds': { 'VISIT_ID': 'EHR:62:1' } } ], 'trial visit': [ { 'id': 1, 'studyId': 'CATEGORICAL_VALUES', 'relTimeLabel': '1', 'relTimeUnit': None, 'relTime': None, } ], 'provider': [], 'sample_type': [], 'missing_value': [], 'Diagnosis ID': [ 'D1' ] } } } GET_JSON_RESPONSES = { '/v2/tree_nodes?depth=0&tags=True&counts=False&constraints=False': { 'tree_nodes': [ { 'name': 'CATEGORICAL_VALUES', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\', 'studyId': 'CATEGORICAL_VALUES', 'type': 'STUDY', 'visualAttributes': [ 'FOLDER', 'ACTIVE', 'STUDY' ], 'constraint': { 'type': 'study_name', 'studyId': 'CATEGORICAL_VALUES' }, 'metadata': { 'upload date': '2019-07-31' }, 'children': [ { 'name': 'Demography', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\', 'studyId': 'CATEGORICAL_VALUES', 'type': 'UNKNOWN', 'visualAttributes': [ 'FOLDER', 'ACTIVE' ], 'children': [ { 'name': 'Age', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Age\\', 'studyId': 'CATEGORICAL_VALUES', 'conceptCode': 'CV:DEM:AGE', 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Age\\', 'type': 'NUMERIC', 'visualAttributes': [ 'LEAF', 'ACTIVE', 'NUMERICAL' ], 'constraint': { 'type': 'and', 'args': [ { 'type': 'concept', 'conceptCode': 'CV:DEM:AGE' }, { 'type': 'study_name', 'studyId': 'CATEGORICAL_VALUES' } ] } }, { 'name': 'Gender', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Gender\\', 'studyId': 'CATEGORICAL_VALUES', 'type': 'CATEGORICAL', 'visualAttributes': [ 'FOLDER', 'ACTIVE', 'CATEGORICAL' ], 'children': [ { 'name': 'Female', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Gender\\Female\\', 'studyId': 'CATEGORICAL_VALUES', 'conceptCode': 'CV:DEM:SEX:F', 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Gender\\Female\\', 'type': 'CATEGORICAL_OPTION', 'visualAttributes': [ 'LEAF', 'ACTIVE', 'CATEGORICAL_OPTION' ], 'constraint': { 'type': 'and', 'args': [ { 'type': 'concept', 'conceptCode': 'CV:DEM:SEX:F' }, { 'type': 'study_name', 'studyId': 'CATEGORICAL_VALUES' } ] } }, { 'name': 'Male', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Gender\\Male\\', 'studyId': 'CATEGORICAL_VALUES', 'conceptCode': 'CV:DEM:SEX:M', 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Gender\\Male\\', 'type': 'CATEGORICAL_OPTION', 'visualAttributes': [ 'LEAF', 'ACTIVE', 'CATEGORICAL_OPTION' ], 'constraint': { 'type': 'and', 'args': [ { 'type': 'concept', 'conceptCode': 'CV:DEM:SEX:M' }, { 'type': 'study_name', 'studyId': 'CATEGORICAL_VALUES' } ] } } ] }, { 'name': 'Race', 'fullName': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Race\\', 'studyId': 'CATEGORICAL_VALUES', 'conceptCode': 'CV:DEM:RACE', 'conceptPath': '\\Public Studies\\CATEGORICAL_VALUES\\Demography\\Race\\', 'type': 'CATEGORICAL', 'visualAttributes': [ 'LEAF', 'ACTIVE', 'CATEGORICAL' ], 'constraint': { 'type': 'and', 'args': [ { 'type': 'concept', 'conceptCode': 'CV:DEM:RACE' }, { 'type': 'study_name', 'studyId': 'CATEGORICAL_VALUES' } ] } } ] } ] } ] }, '/v2/dimensions': { 'dimensions': [ { 'name': 'study', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [{'name': 'name', 'type': 'String'}], 'inline': False }, { 'name': 'patient', 'dimensionType': 'subject', 'sortIndex': 1, 'valueType': 'Object', 'fields': [ {'name': 'id', 'type': 'Int'}, {'name': 'subjectIds', 'type': 'Object'}, {'name': 'age', 'type': 'Int'}, {'name': 'sex', 'type': 'String'} ], 'inline': False }, { 'name': 'concept', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ {'name': 'conceptPath', 'type': 'String'}, {'name': 'conceptCode', 'type': 'String'}, {'name': 'name', 'type': 'String'} ], 'inline': False }, { 'name': 'trial visit', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ {'name': 'id', 'type': 'Int'}, {'name': 'relTimeLabel', 'type': 'String'}, {'name': 'relTimeUnit', 'type': 'String'}, {'name': 'relTime', 'type': 'Int'} ], 'inline': False }, { 'name': 'start time', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Timestamp', 'inline': True }, { 'name': 'visit', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Object', 'fields': [ {'name': 'id', 'type': 'Int'}, {'name': 'activeStatusCd', 'type': 'String'}, {'name': 'startDate', 'type': 'Timestamp'}, {'name': 'endDate', 'type': 'Timestamp'}, {'name': 'inoutCd', 'type': 'String'}, {'name': 'locationCd', 'type': 'String'}, {'name': 'encounterIds', 'type': 'Object'} ], 'inline': False }, { 'name': 'end time', 'dimensionType': 'attribute', 'sortIndex': None, 'valueType': 'Timestamp', 'inline': True }, { 'name': 'Diagnosis ID', 'modifierCode': 'CSR_DIAGNOSIS_MOD', 'dimensionType': 'subject', 'sortIndex': 2, 'valueType': 'String', 'inline': False }, { 'name': 'Biomaterial ID', 'modifierCode': 'CSR_BIOMATERIAL_MOD', 'dimensionType': 'subject', 'sortIndex': 4, 'valueType': 'String', 'inline': False }, { 'name': 'Biosource ID', 'modifierCode': 'CSR_BIOSOURCE_MOD', 'dimensionType': 'subject', 'sortIndex': 3, 'valueType': 'String', 'inline': False } ] }, '/v2/studies': { 'studies': [ { 'id': 1, 'studyId': 'CATEGORICAL_VALUES', 'bioExperimentId': None, 'secureObjectToken': 'PUBLIC', 'dimensions': [ 'study', 'concept', 'patient' ], 'metadata': { 'conceptCodeToVariableMetadata': { 'gender': { 'columns': 14, 'decimals': None, 'description': 'Gender', 'measure': 'NOMINAL', 'missingValues': { 'lower': None, 'upper': None, 'values': [ -2 ] }, 'name': 'gender1', 'type': 'NUMERIC', 'valueLabels': { '1': 'Female', '2': 'Male', '-2': 'Not Specified' }, 'width': 12 }, 'birthdate': { 'columns': 22, 'decimals': None, 'description': 'Birth Date', 'measure': 'SCALE', 'missingValues': None, 'name': 'birthdate1', 'type': 'DATE', 'valueLabels': {}, 'width': 22 } } } } ] }, '/v2/pedigree/relation_types': { 'relationTypes': [ { 'id': 1, 'biological': False, 'description': 'Parent', 'label': 'PAR', 'symmetrical': False }, { 'id': 2, 'biological': False, 'description': 'Spouse', 'label': 'SPO', 'symmetrical': True }, { 'id': 3, 'biological': False, 'description': 'Sibling', 'label': 'SIB', 'symmetrical': True }, { 'id': 4, 'biological': True, 'description': 'Monozygotic twin', 'label': 'MZ', 'symmetrical': True }, { 'id': 5, 'biological': True, 'description': 'Dizygotic twin', 'label': 'DZ', 'symmetrical': True }, { 'id': 6, 'biological': True, 'description': 'Twin with unknown zygosity', 'label': 'COT', 'symmetrical': True }, { 'id': 7, 'biological': False, 'description': 'Child', 'label': 'CHI', 'symmetrical': False } ] }, '/v2/pedigree/relations': { 'relations': [ { 'leftSubjectId': 1, 'relationTypeLabel': 'SPO', 'rightSubjectId': 2, 'biological': False, 'shareHousehold': False } ] } }
def ends_with_punctuation(string): if string is None: return False for punctuation in ['.', '!', '?']: if string.rstrip().endswith(punctuation): return True return False
# PREDSTORM L1 input parameters file # ---------------------------------- # If True, show interpolated data points on the DSCOVR input plot showinterpolated = True # Time interval for both the observed and predicted windDelta T (hours), start with 24 hours here (covers 1 night of aurora) deltat = 24 # Time range of training data (in example 4 solar minimum years as training data for 2018) trainstart = '2006-01-01 00:00' trainend = '2010-01-01 00:00'
size = int(input()) matrix = [] for _ in range(size): matrix.append([int(x) for x in input().split()]) primary_diagonal_sum = 0 secondary_diagonal_sum = 0 for i in range(len(matrix)): primary_diagonal_sum += matrix[i][i] secondary_diagonal_sum += matrix[i][size - i - 1] total = abs(primary_diagonal_sum - secondary_diagonal_sum) print(total)
class BlockLinkedList: def __init__(self): self.size = 0 self.header = None self.trailer = None def addbh(self, block): if self.size == 0: self.trailer = block else: block.set_next(self.header) self.header.set_previous(block) self.header = block self.size += 1 def addbt(self, block): if self.size == 0: self.header = block else: block.set_previous(self.trailer) self.trailer.set_next(block) self.trailer = block self.size += 1 def rembh(self): if self.size == 0: return None else: self.size -= 1 b = self.header self.header = self.header.get_next() def rembt(self): if self.size == 0: return None else: self.size -= 1 b = self.trailer self.trailer = self.trailer.get_previous()
# -*- coding:utf-8 -*- # package information. INFO = dict( name = "exputils", description = "Utilities for experiment analysis", author = "Yohsuke T. Fukai", author_email = "ysk@yfukai.net", license = "MIT License", url = "", classifiers = [ "Programming Language :: Python :: 3.6", "License :: OSI Approved :: MIT License" ] )
""" from rest_framework.serializers import ModelSerializer from netbox_newplugin.models import MyModel1 class MyModel1Serializer(ModelSerializer): class Meta: model = MyModel1 fields = '__all__' """
# Given a linked list, determine if it has a cycle in it. # # To represent a cycle in the given linked list, we use an integer pos which # represents the position (0-indexed) in the linked list where tail connects to. # If pos is -1, then there is no cycle in the linked list. # # Input: head = [3,2,0,-4], pos = 1 # Output: true # Explanation: There is a cycle in the linked list, where tail connects to the second node. # # Input: head = [1], pos = -1 # Output: false # Explanation: There is no cycle in the linked list. class ListNode: def __init__(self, val): self.val = val self.next = None class Solution: def isCycle(self, head): pointer1 = head pointer2 = head.next while pointer1 != pointer2: if pointer2 is None or pointer2.next is None: return False pointer1 = pointer1.next pointer2 = pointer2.next.next return True if __name__ == "__main__": arr = [3, 2, 0, -4] node = ListNode(arr[0]) n = node for i in arr[1:]: n.next = ListNode(i) n = n.next ans = Solution().isCycle(node) print(ans)
def print_table(n): """ (int) -> NoneType Print the multiplication table for numbers 1 through n inclusive. >>> print_table(5) 1 2 3 4 5 1 1 2 3 4 5 2 2 4 6 8 10 3 3 6 9 12 15 4 4 8 12 16 20 5 5 10 15 20 25 """ # The numbers to include in the table. numbers = list(range(1, n + 1)) # Print the header row. for i in numbers: print('\t' + str(i), end='') # End the header row. print() # Print each row number and the contents of each row. for i in numbers: print (i, end='') for j in numbers: print('\t' + str(i * j), end='') # End the current row. print()
# %% [492. Construct the Rectangle](https://leetcode.com/problems/construct-the-rectangle/) class Solution: def constructRectangle(self, area: int) -> List[int]: w = int(area ** 0.5) while area % w: w -= 1 return area // w, w
# EXERCICIO 053 - DETECTOR DE PALINDROMO frase = str(input('Digite uma frase: ')).strip().upper() palavras = frase.split() junto = ''.join(palavras) inverso = junto[::-1] if inverso == junto: print('A frase digitada รฉ um palรญndromo!') else: print('A frase digitada nรฃo รฉ um palรญndromo!')
"""Empty test. Empty so that tox can be used for CI in Github actions """ # def test_sum(): # assert sum([1, 2, 3]) == 6, "Should be 6" def test(): assert True is True
def generateMatrix(n): """ :type n: int :rtype: List[List[int]] """ ans = [[0 for i in range(n)] for j in range(n)] # i = j = 0 # blow = 0 # bhigh = n-1 # for num in range(1, n ** 2 +1): # ans[i][j] = num # if j < bhigh and i == blow: # j += 1 # continue # if i < bhigh and j == bhigh: # i += 1 # continue # if j > blow and i == bhigh: # j -= 1 # if j == blow: # blow += 1 # continue # if i > blow and j == blow-1: # i -= 1 # if i == blow: # bhigh -= 1 # continue row = list(range(n)) col = list(range(n)) num = 1 while row or col: for j in col: ans[row[0]][j] = num num += 1 row.pop(0) for i in row: ans[i][col[-1]] = num num += 1 col.pop(-1) col.reverse() row.reverse() return ans print(generateMatrix(10)) print()
# config.py class Config(object): embed_size = 300 in_channels = 1 num_channels = 100 kernel_size = [3,4,5] output_size = 4 max_epochs = 10 lr = 0.25 batch_size = 64 max_sen_len = 20 dropout_keep = 0.6
# Byte code returned from flask-http in the case of auth failure. NOT_AUTHORIZED_BYTE_STRING = b'Unauthorized Access' def check_for_unauthorized_response(res): """ Raise an Unauthorized exception only if the response object contains the Not Authorized byte string. :param res: Response object to check. :raise Unauthorized: If the response object contains the Not Authorized byte string. """ if not isinstance(res, dict): if res.response and len(res.response) > 0 and isinstance(res.response[0], bytes): if res.response[0] == NOT_AUTHORIZED_BYTE_STRING: raise Unauthorized("Not Authorized")