Question #303081

Create a Python script which will accept a positive integer (n) and any character then it will display the input character n times.



Sample Output:


Positive Integer (n): 7


Input any Character: A


AAAAAAA

Expert's answer

a = 7
char = 'A'
print(char*a)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS