Program to Read a number n and Compute n+nn+nnn
Number=int(input()) Sum=0 for i in range(0,3): num=Number for j in range(0,i): num*=Number Sum=Sum+num print(Sum)
Output:
Enter any number: 5
155
Output:
Enter any number: 10
1110
Output:
Enter any number: 55
169455
Output:
Enter any number: 66
291918
Output:
Enter any number: 100
1010100
Output:
Enter any number: 1000
1001001000
Output:
Enter any number: 3
39
Output:
Enter any number: 2
14
Scrshot
More Codes to Fcuk
- Armstrong Number
- Find the biggest even number
- Program to replace every element on right side
- Compute the frequency of the note
- Print all Possible Combinations from three Digits.
- Get number n and Compute n+nn+nnn
- Print Cube root of the given number
- Convert number into binary, octal and hexa
- Return maximum number of operations performed on array.
- Determine the encryption key
- Find the count of numbers having a prime number in their binary representation.
- Fibonacci Series up to given n numbers
- Help Alice find the route to her home
Explore
- Quantum Mechanics relation with quantum computing
- Unzipping Files using Python
- An Algorithm which accepts n integer values and calculates the average and prints it.
- How can Quantum Computing merge with Virtual Reality ? !
- Blockchain and Cryptocurrency. And their relations with Virtual Reality !!