text = int (input('user input:')) if text <=2: print (text) print ('-' * 1) elif text <=3: print (text) print ('-' * 2) elif text <=4: print (text) print ('-' * 3) elif text <=5: print (text) print ('-' * 4) elif text <=6: print (text) print ('-' * 5) elif text <=7: print (text) print ('-' * 6)