From 3370d684d86e44b93f2d5c7c1bb018c935d700a6 Mon Sep 17 00:00:00 2001 From: Mateo <77201486+B4sicallyF0x@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:33:29 +0100 Subject: [PATCH] Update Variables and Types.md Added solution --- tutorials/learnpython.org/es/Variables and Types.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tutorials/learnpython.org/es/Variables and Types.md b/tutorials/learnpython.org/es/Variables and Types.md index 5ad950d75..e1eea53b9 100644 --- a/tutorials/learnpython.org/es/Variables and Types.md +++ b/tutorials/learnpython.org/es/Variables and Types.md @@ -74,8 +74,15 @@ if isinstance(miIntegral, int) and miIntegral == 20: Expected Output --------------- Cadena: hola -Flotante: 10 +Flotante: 10.0 Integral: 20 Solution -------- +mystring = "hola" +myfloat = (float(10)) +myint = 20 + +print("Cadena: " + mystring) +print("Flotante: " + str(myfloat)) +print("Integral: " + str(myint))