Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # creates a flag of a given size
- size = int(input("Insert the size of your flag (1-15): "));
- hieght = int(input("Insert the hieght of your flag (1-20): "));
- # create flag
- count = 0;
- while count < size:
- print("#"*size*3);
- count = count + 1;
- # makes flag pole
- count = 0;
- while count < hieght:
- print("#");
- count = count + 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement