Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 4,963
- Upvotes received
- 429
- What are the Characteristics of electromagnetic radiations? Characteristics of electromagnetic radiations: Wavelength: It may be defined as the distance between two neighbouring crests or troughs of w... 2
- How to prepare for neet in 3 months ? You can refer this answer 2
- Explain any 2 types of wet corrosion with diagram and reactions The corrosion which is brought about through ionic reaction in presence of moisture or solution as a conducting medium is called (wet) elect... 2
- What is the principle of spectroscopy? The basic principle shared by all spectroscopic techniques is to shine a beam of electromagnetic radiation onto a sample, and observe how it... 1
- Sacrificial anode method In this protection method, the metallic structure to be protected is connected by a wire to a more anodic metal, so that all the corrosion i... 1
- C programming Viva Questions semester 2 Download 1. Which type of language is C? Ans- C is a high–level language and general-purpose structured programming language. 2. What is a c... 1
- Python Program to Find the Largest Among Three Numbers num1 = float(input("Enter first number: ")) num2 = float(input("Enter second number: ")) num3 = float(input("Enter third number: ")) if (num... 1
- Python Program to Check Leap Year year = int(input("Enter a year: ")) # divided by 100 means century year (ending with 00) # century year divided by 400 is leap year if (year... 1
- Python Program to Check if a Number is Odd or Even num = int(input("Enter a number: ")) if (num % 2) == 0: print("{0} is Even".format(num)) else: print("{0} is Odd".format(num)) 1
- Python Program to Check if a Number is Positive, Negative or 0 num = float(input("Enter a number: ")) if num > 0: print("Positive number") elif num == 0: print("Zero") else: print("Negative number") 1
- Python Program to Convert Celsius To Fahrenheit celsius = 37.5 # calculate fahrenheit fahrenheit = (celsius * 1.8) + 32 print('%0.1f degree Celsius is equal to %0.1f degree Fahrenheit' %(c... 1
- Python Program to Convert Kilometers to Miles # Taking kilometers input from the user kilometers = float(input("Enter value in kilometers: ")) # conversion factor conv_fac = 0.621371 # c... 1
- Python Program to Generate a Random Number # Program to generate a random number between 0 and 9 # importing the random module import random print(random.randint(0,9)) 1
- Python Program to Swap Two Variables x = input('Enter value of x: ') y = input('Enter value of y: ') # create a temporary variable and swap the values temp = x x = y y = temp pr... 1
- Python Program to Solve Quadratic Equation import cmath a = 1 b = 5 c = 6 # calculate the discriminant d = (b**2) - (4*a*c) # find two solutions sol1 = (-b-cmath.sqrt(d))/(2*a) sol2 =... 1
- Python Program to Calculate the Area of a Triangle a = float(input('Enter first side: ')) b = float(input('Enter second side: ')) c = float(input('Enter third side: ')) s = (a + b + c) / 2 ar... 1
- Python Program to Find the Square Root num = float(input('Enter a number: ')) num_sqrt = num ** 0.5 print('The square root of %0.3f is %0.3f'%(num ,num_sqrt)) 1
- Python Program to Add Two Numbers num1 = 1.5 num2 = 6.3 sum = num1 + num2 print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) 1