$ git remote add origin https://github.com/user/repo.git
git remote -v
#result
origin https://github.com/user/repo.git (fetch)
$ git remote add origin https://github.com/user/repo.git
git remote -v
#result
origin https://github.com/user/repo.git (fetch)
Paso a paso de cómo debería funcionar
Lanzar la aplicación: Abre la aplicación en tu dispositivo o simulador de iOS.
Interfaz de usuario: Verás la interfaz de usuario que incluye los siguientes elementos:
expenseEntryTextField
.descriptionEntryTextField
.totalBalanceLabel
.expenseListLabel
. 1.Contar Vocales:
Escribe una función que tome una cadena de texto como entrada y devuelva el número de vocales que contiene el string sin usar count.
input = edificio
output = 5
2. Invertir una String:
Escribe una función que tome un String como entrada y devuelva el String invertido sin usar reversed() o joined().
let w = ["algorithm", "language", "compiler", "variable", "function", "loop", "class", "object", "inheritance", "polymorphism", "encapsulation", "modularity", "debugging", "integration", "development", "frontend", "backend", "database", "API", "framework", "library", "programmer", "syntax", "compilation", "interpretation", "link", "optimization", "repository", "constant"] | |
func cw(_ w: [String]) -> String { | |
let s = w.randomElement() ?? "" | |
return s | |
} | |
func sw(_ s: String, _ gl: [Character]) { | |
for l in s { | |
if gl.contains(l) { |
https://youtu.be/8xCU6ltK8to?si=ZryEuCs2HrSYsUQn
link
Estudiante 1:
let myMoney: Double = 50
func dollarToPeso(_ money: Double) -> Double {
let dollarValueToPesoC: Double = 4017.00
import random | |
p = ["algoritmo", "lenguaje", "compilador", "variable", "función", "ciclo", "bucle", "clase", "objeto", "herencia", "polimorfismo", "encapsulamiento", "modularidad", "depuración", "integración", "desarrollo", "frontend", "backend", "base de datos", "API", "framework", "librería", "programador", "sintaxis", "compilación", "interpretación", "enlace", "optimización", "repositorio", "código fuente"] | |
def choise(p): | |
w = random.choice(p) | |
return w |