Instructions:
- Input a positive integer.
- Using while() loop, repeatedly print out the message "CodeChum is awesome" for the same number of times as that of the inputted integer. Each outputted message must be separated in new lines.
- Don't forget to make an increment/decrement variable that will increase its value per iteration so as to not encounter a forever loop and have errors, okay?
Instructions
- Make a variable and assign it to an input() function that will accept a positive integer.
- Using while() loop, repeatedly print out "CodeChum is awesome" for the same number of times as that of the inputted integer. Each outputted string must be separated in new lines.
- Don't forget to make an increment variable that will increase its value per iteration so as to not encounter a forever loop and have errors, okay?
Input
A line containing an integer.
4
Output
Multiple lines containing a string.
CodeChum·is·awesome
CodeChum·is·awesome
CodeChum·is·awesome
CodeChum·is·awesome
Comments
Leave a comment