“Cómo convertir C a Python” Código de respuesta

Cómo convertir C a Python

#include<stdio.h>
int main()
{
    double b1,h1,b2,h2,a1,a2;
    scanf("%lf %lf %lf %lf",&b1,&h1,&b2,&h2);
    a1=(b1*h1)/2;
    a2=(b2*h2)/2;
    if(a1>a2)
        printf("%0.2lf",a1);
    else
        printf("%0.2lf",a2);
}
Brave Bug

Cómo convertir C a Python

#include<stdio.h>
int main()
{
    double b1,h1,b2,h2,a1,a2;
    scanf("%lf %lf %lf %lf",&b1,&h1,&b2,&h2);
    a1=(b1*h1)/2;
    a2=(b2*h2)/2;
    if(a1>a2)
        printf("%0.2lf",a1);
    else
        printf("%0.2lf",a2);
}
Brave Bug

Respuestas similares a “Cómo convertir C a Python”

Preguntas similares a “Cómo convertir C a Python”

Más respuestas relacionadas con “Cómo convertir C a Python” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código