SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = range(1, 100)
  2.  
  3. var = input("Type a number to divide: ")
  4.  
  5. for num in x:
  6.     if int(var) <= 100 and num % int(var) == 0:
  7.         print(num)
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