Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input1:text something blablabla
- input2: high of stars
- input1 = Your Name
- input2 = 3
- output:
- ***********
- *Your Name*
- ***********
- def function(text):
- """start"""
- name = len(text)
- num = int(input())
- for i in range(num):
- for j in range(name + 2):
- if i == 0 or j == 0 or i == num - 1:
- print("*", end="")
- print()
- function(input())
- ***********
- *
- ***********
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement