Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = input('Type in your name, please')
- b = input('Type in your student ID, please')
- b= int(b[-1])
- print(b)
- for i in range(len(a)):
- if i%b == 0:
- print('\n')
- if a[i]!=' ':
- print(a[i], end ='')
- else: print('*', end = '')
- while ((i+1) % b ) != 0:
- print('+',end='')
- i+=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement