Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

1036 solution python

import math
A,B,C = map(float,input().split())
D = (B**2)-(4*A*C)
if(D <0 or A==0):
    print("Impossivel calcular")
else:
    D=math.sqrt(D)
    R1 = (-B+D)/(2*A)
    R2 = (-B-D)/(2*A)
    print(f'R1 = {R1:0.5f}
R2 = {R2:0.5f}')
Comment

1038 solution python

X,Y=list(map(int,input().split()))
if(X == 1):
    price  = (float) (4.00 * Y)
elif(X == 2):
    price  = (float) (4.50 * Y)
elif(X == 3):
    price  = (float) (5.00 * Y)
elif (X == 4):
    price  = (float) (2.00 * Y);
elif (X == 5):
    price  = (float) (1.50 * Y)
print(f"Total: R$ {price:.2f}")
Comment

1036 solution python


sudo chown -R mysql:mysql /var/lib/mysql

Comment

PREVIOUS NEXT
Code Example
Python :: Value Error handling 
Python :: how to make an instagram report bot python 
Python :: python gpsd client 
Python :: adding the first place value and second value in python 
Python :: pass parameters to a odoo wizard 
Python :: python django 
Python :: ‘A’, ‘Q’, ‘BM’, ‘BA’, ‘BQ’ meaning in resample 
Python :: "get_or_create" takes 1 positional argument but 2 were given 
Python :: branchless if python 
Python :: python break out of function 
Python :: what is quit block in python 
Python :: numpy add to same index multiple times 
Python :: not all arguments converted during string formatting postgresql 
Python :: _set.filter django 
Python :: python glob wildcard filename 
Python :: mysql insert into python many 
Python :: pandas reverse explode 
Python :: python write multiline string to file 
Python :: python module equal override 
Python :: Move Mouse Every Minute Using Python 3 & PyAutoGUI 
Python :: how to code fibonacci series in python 
Python :: python async get result 
Python :: comparison operators in python 
Python :: python how to not allow class instance 
Python :: python convert docx to pdf linux 
Python :: find the index of nanmax 
Python :: Using iterable unpacking operator * with extend 
Python :: images in pygame 
Python :: signup generic 
Python :: python apt manager 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =