C. users to access and view web pages on the internet.
Answer:
two HDMI cords, this will help you your monitors
Answer and Explanation:
#take input from user
n = int(input("Enter any number: "))
#sum variable to store sum
sum=0
#condition to exit from loop
while n!=-999:
#adding entered number in sum variable
sum=sum+n
#take input from user
n = int(input("Enter any number : "))
#print the sum
print("sum =",sum)
output:
Enter any number: 10
Enter any number : 100
Enter any number : -999
sum = 110
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.