I know of four,
Left-aligned
Center-aligned
right-aligned
justified
Answer:
Following are the code to this question:
def data(a):#defining method data that accepts parameter
print (a)#print parameter value
def data(b):#defining method data that accepts parameter
print (b)#print parameter value
x=input("enter value: ")#defining variable x that5 input value from user
print(data(x))#call method data
Output:
enter value: hello..
hello..
None
Explanation:
- As the above code, it is clear defines that python doesn't support the method overloading because More than one method can't be specified in a python class with the same name and python method arguments have no type.
- The single argument method may be named using an integer, a series, or a double value, that's why we can say that it is not allowed.
Answer:
using python to write the program
Explanation:
#To use the log function, the module must be imported
import math
n=int(input("Enter number to be halved"))
count=0
while(n>1):
count=count+1
n=n//2
print("The number halved is now ", n, "The is the ", count, "iteration")
x = math,log(2,(n))
print("The log of n is:", x)
Answer:
5G is being used currently in the U.S. It is definetly faster than 4G even proven when I did a speed test. It also works in more places in addition to being faster.
Explanation: