SHARE
TWEET

Untitled

a guest Jun 26th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cont = 1
  2. repeticao = int(input("Qtd. repetições: "))
  3. while(cont <= repeticao):
  4.   resto = cont % 2
  5.   if (resto == 0):
  6.     print("%d - par"%(cont))
  7.   else:
  8.     print("%d - ímpar"%(cont))
  9.   cont = cont + 1
  10. print("Final")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top