This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def MaxProfit(priceAsString): | |
list = [int(i) for i in priceAsString.split(',')] | |
print(list) | |
minVal = min(list) | |
indexMinVal = list.index(minVal) | |
if indexMinVal < len(list): | |
list2 = list[indexMinVal::] | |
if len(list2) == 1: | |
return 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def MaxWord(parrafo, palabrasNoValidas): | |
parrafo2 = parrafo.lower() | |
expression = r'\w+' | |
res = re.findall(expression, parrafo2) | |
ocurrences = {} | |
for word in res: | |
if word not in palabrasNoValidas: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
year | degrees_celsius | |
---|---|---|
1850 | 7.74 | |
1851 | 8.09 | |
1852 | 7.97 | |
1853 | 7.93 | |
1854 | 8.19 | |
1855 | 8.12 | |
1856 | 7.9 | |
1857 | 7.71 | |
1858 | 8.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget:FSharp.Data, 3.3.3" | |
#r "nuget:Deedle, 2.1.2" | |
#r "nuget:XPlot.GoogleCharts, 2.1.2" | |
#r "nuget:XPlot.Plotly, 3.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Title: Algunos ejercicios de Ampliación de Cálculo | |
Autor: Pedro Fortuny Ayuso | |
Link: https://openlibra.com/es/book/algunos-ejercicios-de-ampliacion-de-calculo | |
- Title: El tablero medieval de cálculo y las operaciones con números romanos: estudio histórico y pedagógico | |
Autor: José María Núñez | |
Link: https://openlibra.com/es/book/el-tablero-medieval-de-calculo-y-las-operaciones-con-numeros-romanos-estudio-historico-y-pedagogico | |
- Title: Apuntes de cálculo numérico | |
Autor: Sebastián A. Hernández |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<v-container class="grey lighten-5"> | |
<v-subheader> | |
<b>Step 2:</b> Map Fields | |
<br> | |
<div class="text-subtitle-2 text-left ma-2">Map the fields in your csv to Autopilot's fields.</div> | |
</v-subheader> | |
<form action="" method="POST" @submit="sendMappingField"> | |
<v-row no-gutters> | |
<v-col sm="12"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Deedle | |
let globalTemp = Frame.ReadCsv("./_datasets/global_temperature.csv") | |
// Para mostrar el contenido hacemos uso de Print | |
globalTemp.Print() | |
// Para tomar los primeros 3 elementos del Dataframe, usaremos Rows.Beetwen | |
globalTemp.Rows.Between(0, 3).Print() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printfn "Hello World from F#!\n" | |
// Declaracion de variables | |
let a = 5 | |
let b = 5 | |
// Suma | |
let sum = a + b | |
printf "%A\n" sum | |
// Sustracción | |
let sus = a - 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<EntryPoint>] | |
let main argv = | |
let n = int <| Console.ReadLine() | |
let ar = Console.ReadLine().Split(' ') |> Array.map (fun x -> x |> Convert.ToInt32) | |
// you code | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:0,==== G�N�RALISTE ==== | |
http://tv.sigma-iptv.net:7000/live/lestulupes/icceTgfhaB/5734.m3u8 | |
#EXTINF:0,|FR| TF1 FHD | |
http://tv.sigma-iptv.net:7000/live/lestulupes/icceTgfhaB/575534652.m3u8 | |
#EXTINF:0,|FR| TF1 HD | |
http://tv.sigma-iptv.net:7000/live/lestulupes/icceTgfhaB/5713.m3u8 | |
#EXTINF:0,|FR| TF1 +1 FHD | |
http://tv.sigma-iptv.net:7000/live/lestulupes/icceTgfhaB/575534651.m3u8 | |
#EXTINF:0,|FR| FRANCE 2 FHD |