I can't solve this, someone please help.
Write a loop that prints 20 characters on the screen. Always 20. But it is made up of stars (*), which are printed first, and exclamation marks (!) that complete the line. Your program will first ask the user to enter a number. It will represent the number of stars that should be present in the line. The program will then print exclamation marks until the total number of characters is 20.
Examples of how your program should work (user input underlined):
How many stars? 10Thanks!
* * * * * * * * * * ! ! ! ! ! ! ! ! ! !
How many stars? 20
* * * * * * * * * * * * * * * * * * * *
How many stars? 1
* ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Yahoo! Mail - Helps protect you from nasty viruses.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor