EasyCTF_2018: Over and Over
Category: Programming Points: 30 Description:
over and over and over and over and over and ... Given a number
N, print the string "over [and over]" such that the string containsN"over"s. There should not be newlines in the string. For example: ForN= 1, print "over". ForN= 5, print "over and over and over and over and over". For Python, consider usingforandrange. For Java/CXX, consider using aforloop. Try doing it withwhiletoo for practice!
Write-up
times=int(input())
output=""
for i in range(times):
output+="over and "
print(output.strip("and "))
Therefore, there is no flag.