Posts by MARCOS VINICIUS MACARIO CRUZ • 47 points
2 posts
-
0
votes1
answer91
viewsQ: I’m new to programming, how do I get out of sequential foma returns?
ano = input() a= ano.split() def contaDigitos(): for x in a: s= len(x) if s !=4: return "Ano invalido" else: return x def ehBissexto(): for x in a: x= int(x) if x % 4==0 and x %100!=0: if x>…
-
2
votes3
answers285
viewsQ: html/javascript clock does not appear
I’m trying to make a digital clock appear on the screen, but the browser does not return anything. <!DOCTYPE html> <html> <head> <title>teste</title> <meta…