Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. multiplos_tres_cinco = [numero for numero in range(1, 50) if numero % 3 == 0 and numero % 5 == 0]
  2. print(multiplos_cinco_tres)
  3.  
  4. >>>[15, 30, 45, 60]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement