Advertisement
Guest User

No.2

a guest
Mar 29th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. a = int(input('Masukan angka:'))
  2. count = 0
  3. abjad = ''
  4. while(count < a):
  5.     abjad += chr(65 + count)
  6.     count = count + 1
  7. print(abjad)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement