Find Jobs
Hire Freelancers

Calculate Area Of Rectangular Prism

$10-30 CAD

Terminado
Publicado hace más de 5 años

$10-30 CAD

Pagado a la entrega
Python 3.6.1 (default, Dec 2015, 13:05:11) [GCC 4.8.2] on linux calc_volume(5,6,7) Enter the length: 5 Enter the width: 6 Enter the heigth: 7 Traceback (most recent call last): File "python", line 1, in <module> File "python", line 5, in calc_volume TypeError: can't multiply sequence by non-int of type 'str' This is what I get on the console when I run the code below: def calc_volume(length=float, width=float, height=float): length = input("Enter the length: ") width = input("Enter the width: ") height = input("Enter the heigth: ") calc_volume = (str(length) * str(width) * str(height)) print("The volume of the rectangular prism is " + calc_volume) return calc_volume() I need to get length x width x height and keep getting errors.
ID del proyecto: 17770278

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hello! There's a little mistake in your code, contact me and I will gladly help you with it! :) I'm available right now.
$25 CAD en 1 día
5,0 (2 comentarios)
1,3
1,3
2 freelancers están ofertando un promedio de $25 CAD por este trabajo
Avatar del usuario
I have lots of experience in Python working on similar projects and would love to work with you. Please dm me if you are interested
$25 CAD en 1 día
5,0 (7 comentarios)
4,0
4,0

Sobre este cliente

Bandera de CANADA
Mississauga, Canada
5,0
6
Forma de pago verificada
Miembro desde sept 14, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.