#unpack range
      print(*range(1, int(input("Enter a number between 1-100: "))+1), sep='')

      Python language logoUnpack Range

      The code prints:

      1, 2, 3, 4, 5, 6, 7, 8, 9, 10

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.