SHARE
TWEET

Untitled

a guest Jun 16th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a1 = int(input())
  2. a2 = int(input())
  3.  
  4. n = int(input())
  5.  
  6. for sym in range(a1, a2):
  7.     charr = chr(sym)
  8.     for sym2 in range(1, n):
  9.         for sym3 in range(1, int(n / 2)):
  10.             sym4 = ord(charr)
  11.             sum = sym2 + sym3 + sym4
  12.             if sym4 % 2 != 0 and  sum % 2 != 0:
  13.                 print(f'{charr}-{sym2}{sym3}{sym4}')
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