String Formatting

  • + 0 comments

    i=1 while i<=number: print(i, end=' ') print(oct(i)[2:],end=' ') print(hex(i)[2:],end=' ') print(bin(i)[2:]) i += 1

    Got same output here too still not submitted here.