Computer Science, asked by kavyaanchula, 4 months ago

main.py
Run
Shell
***
***
* Hello *
* world *
1 # Online Python compiler (interpreter) to run
Python online.
2 # Write Python 3 code in this online editor and run
it.
3 - def hello_world(words):
size = max(len(word) for word in words )
5
print("*"*(size+4))
* in
*
*
a
*
4
* frame *
**
***
6
7
for i in words:
print("*"+" +i+" "*((size+4)-len(i)-3)+"*"
8
9
10
print("*"*(size+4))
11
12 hello_world(["Hello", "world","in","a","frame"])​

Answers

Answered by anshgoel1704
0

Answer:

hii.................................

Similar questions