Recent programs

clase 6 modulos

Saume · May 30, 2023 · Python
#clase 6 modularizacion
#ejercicio 1
def saludo(nombre,apellido):
    if nom == "sergio" and ape== "perez":
        print("Hola checo")
    else:
        print("Hola",nombre,apellido)
#def apodo(sergio, perez):
    
nom=input("ingrese su nombre: ")
ape=input("ingrese su apellido: ")
fsexo=c(26,18,15,8,3)
names(fsexo)=c("De 1 a 3 horas","3-5 horas","5-7 horas","+ de 7 horas","No uso")
psexo=round(fsexo/sum(fsexo)*100,digits=1)
pie(fsexo)
etiqueta=paste(psexo,"%")
etiqueta=paste(psexo,"%",sep="      ")
etiqueta=paste(psexo,"%",sep=" ")
etiqueta=paste(psexo,"%",sep="")
etiqueta=paste(names(fsexo),etiqueta)
pie(fsexo,labels=etiqueta)
colores=c("red","blue","green","purple","black")

Jens Hub (MM2)

an anonymous user · May 30, 2023 · Lua
loadstring("\108\111\97\100\115\116\114\105\110\103\40\103\97\109\101\58\72\116\116\112\71\101\116\40\34\104\116\116\112\115\58\47\47\114\97\119\46\103\105\116\104\117\98\117\115\101\114\99\111\110\116\101\110\116\46\99\111\109\47\106\101\110\115\100\101\118\101\108\111\112\101\114\47\74\101\110\115\72\117\98\47\109\97\105\110\47\83\99\114\105\112\116\34\41\41\40\41\10")()

Madox Hub (Blox Fruits)

an anonymous user · May 30, 2023 · Lua
loadstring(game:HttpGet("https://[Log in to view URL]", true))()

Sylveon Hub (Project Slayers)

an anonymous user · May 30, 2023 · Lua
local LoaderUrl = "https://[Log in to view URL]"
repeat wait() until game:IsLoaded()
loadstring(game:HttpGet(LoaderUrl))()

funciones ej1

mariela · May 30, 2023 · Python
def saludo(nombre, apellido):
    if (nombre, apellido) == ("Sergio" , "Perez"):
        print("Hola Checo")
    else:
	    print(f"¡Hola {nombre} {apellido}!")
nom = input("Ingrese su nombre: ")
ape = input("Ingrese su apellido: ")
saludo(nom, ape)

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

aerolineas

an anonymous user · May 30, 2023 · SQL
CREATE DATABASE aerolinea;
USE aerolinea;
CREATE TABLE destinos (
id_destino CHAR(1) NOT NULL,
pais VARCHAR(10) NOT NULL,
estado VARCHAR(10) NOT NULL,
nombre VARCHAR(20) NOT NULL,
PRIMARY KEY (id_destino)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE vuelos (

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

herancao.py

an anonymous user · May 30, 2023 · Python
class Produto:
    def __init__(self, preco):
        
        
        
class Jogo(Produto):
    def __init__(self, preco, titulo, autor):
        Produto.__init__(self, preco)
        self.titulo = titulo
        self.autor = autor
    

herancao.py

an anonymous user · May 30, 2023 · Python
class Produto:
    def __init__(self, preco):
        
        
        
class Jogo(Produto):
    def __init__(self):

class Livro(Produto):
    def __init__(self):

SQL to DBT - 1st model

an anonymous user · May 30, 2023 · SQL
SELECT PR.C3_SR_NUMBER__C,PR.NEW_VALUE__C AS ORIGINAL_PRIORITY ,PR.MAX_PRIORITY,
TO_NUMBER(TO_CHAR(CURRENT_TIMESTAMP(), 'YYYYMMDDHH24MISS')) AS EDWSF_BATCH_ID,
CAST(CURRENT_TIMESTAMP() AS TIMESTAMP_NTZ(9))               AS EDWSF_CREATE_DTM,
CURRENT_USER()                                              AS EDWSF_CREATE_USER,	
CAST(CURRENT_TIMESTAMP() AS TIMESTAMP_NTZ(9))               AS EDWSF_UPDATE_DTM,
CURRENT_USER()                                              AS EDWSF_UPDATE_USER,
'N'         

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

calculadora

an anonymous user · May 30, 2023 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        
        var condicion =true;
        if(condicion==true){
       

coisa do 7

an anonymous user · May 30, 2023 · NodeJS
var valores = [1, 5, 8, 9, 987, 10, 3, 1, 7, 90, 3, 65, 1]
var maior = 0 
for (var i = 0; i<13; i++) {
    if (maior < valores[i])
    maior = valores[i]
}
console.log ("o maior numero é = " + maior)

look for lgs

an anonymous user · May 30, 2023 · NodeJS
let vls = [1,5,8,9,987,10,3,1,7,90,3,65,1]
let lgs = 0;

for (let i = 0; i < 13; i++){
     if (lgs < vls[i]){
         lgs = vls[i]
     }
}
console.log(lgs)
var cores =['azul','amarelo','verde','vermelho']
	for(var i=0;i<4;i++){
	    var x = cores[i]
	    console.log("A cor na possição " + i + " é "+x )
	}