Given an integer num, return a string of its base 7 representation.

```
Input: 100
Output: "202"
```

import numpy as np def tobase(num,b): return np.base_repr(num,base=b) # can apply to any base not only base 7 num=int(input("Give an integer number : ")) b=7 # can change to any base print(tobase(num,b))

**Input_1:**

Give an integer number : 100

**Output:**

202

**Input_2:**

Give an integer number : -7

**Output:**

-10

**Input_3:**

Give an integer number : 1446

**Output:**

4134

**Input_4:**

Give an integer number : 200**Output:**

404

**Input_5:**

Give an integer number : 50**Output:**

101

**Illustration of the Output:**

**More Q**

- Determine if a person could attend all meetings in given interval times.
- Find the volume of a volley ball
- Find the maximum score obtained at the end of colour chess grid game.
- Find the number of pairs if positive integers with condition is even.
- Return the largest subset such that every pair meets the given condition.
- Find the number of index triplets that satisfy given condition.
- Handling multiple queries using array – sum, update, range.
- Find all the sequences that occur more than once in DNA molecule.
- Find the biggest number.
- Sum of cube of each number is again equal to the number then it is an Armstrong number.
- Hello World.
- Calculate the Cube Root.
- Find the count of consecutive 1’s present in array.
- Return an array with athletes relative ranks according to the score.
- Return a string of its base 7 representation.
- Return kth largest element in sorted order.
- Find all repeated elements in the array.
- Find atleast one duplicate number in the array.
- Find the maximum result of = a XOR b.