Skip to content

Commit 05d3524

Browse files
CHALLENGE 104 - UNCOMPLETED
1 parent 930f469 commit 05d3524

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

Mundo-03.py

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,14 +1869,43 @@ def voto(bth):
18691869
# CHALLENGE 103 - UNCOMPLETED
18701870

18711871
'''def ficha(name = "<Unknow>", golas = "0"):
1872+
if(len(name) == 0 and len(golas) == 0):
1873+
return print(f"The player <Unknow> scored 0 goals in the championship!")
18721874
if(len(name)== 0):
1873-
print(f"The player {name} scored {golas} goals in the championship!")
1875+
return print(f"The player <Unknow> scored {golas} goals in the championship!")
1876+
if(len(golas) == 0):
1877+
return print(f"The player {name} scored 0 goals in the championship!")
18741878
else:
1875-
print(f"The player {name} scored {golas} goals in the championship!")
1879+
return print(f"The player {name} scored {golas} goals in the championship!")
18761880
18771881
18781882
print("="*40)
18791883
name = str(input("What is the name of the player ? "))
18801884
goals = str(input("How many goals the player scored ? "))
18811885
ficha(name, goals)
1882-
# ficha()'''
1886+
# ficha()'''
1887+
1888+
# CHALLENGE 104
1889+
1890+
def readint(integer):
1891+
print(integer, end="")
1892+
a = input("")
1893+
a = int(a)
1894+
if(a + a != a - a):
1895+
return n
1896+
else:
1897+
print(n)
1898+
while(a + a != a - a ):
1899+
print(integer, end="")
1900+
a = input("")
1901+
a = int(a)
1902+
if (a * a != 2 * a):
1903+
return n
1904+
else:
1905+
print(n)
1906+
else:
1907+
print(n)
1908+
1909+
1910+
n = readint("Enter with a number integer: ")
1911+
print(f"You chose the number {n}!")

0 commit comments

Comments
 (0)