Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PYTHON Ejercicio 7.-Validar un n煤mero[22]馃悕馃憟馃憟馃憟
Video: https://youtu.be/GUxDtcv2zs4
- Loading branch information
1 parent
90ea6cf
commit 917ed45
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
x=float(input("Humano inresa el valor de x:")) | ||
y=float(input("Humano inresa el valor de y:")) | ||
dividendo=(y**2)-1 | ||
if dividendo!=0: | ||
res= ( x**(1/2) ) / dividendo | ||
print(f"Humano aqui esta tu ingao resultado:{res}") | ||
else: | ||
print(f"Humanito el valor de 'Y' no puede ser {y}") |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.