Write a program in Python to take an integer as input. If the number is zero or less, print an error message. Otherwise, print out "ab" those many times, end to end. For example: Input: 0 Error in input Input: 3 ababab Input: 5 ababababab
Write a program in Python to take an integer as input. If the number is 0 or less, print an error message. Otherwise, print out your name those number of times on the output screen. For example: Input: -5 Error in input Input: 3 DhruvKarthik DhruvKarthik DhruvKarthik Input: 1 DhruvKarthik