SHARE
TWEET

Untitled

a guest Feb 27th, 2020 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = int(input('A = '))
  2. b = int(input('B = '))
  3.  
  4. for c in range(a, b+1):
  5.     print(str(c)*c)
  6.    
  7. for c in range(b, a-1, -1):
  8.     print((' ' + str(c))*c)
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