subject

What's wrong with this code in Python 3? I'm trying to make it add the total lengths together but I can't get it to print out the numbers. q=float(input("Enter the Feet: "))
w=float(input("Enter the Inches: "))
e=float(input("Enter the Feet: "))
r=float(input("Enter the Inches: "))
a=float(q*12)
c=float(e*12)
t=float(a+w+c+r)
z=float(t//12)
x=float(t%12)
print("Feet: "+z+" Inches: "+x)

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 12:40, Courtneymorris19
The most complicated four letter word
Answers: 1
image
Computers and Technology, 23.06.2019 01:10, brooklynneramos9956
Problem 1 - hashing we would like to use initials to locate an individual. for instance, mel should locate the person mark e. lehr. note: this is all upper case. generate a hash function for the above using the numbers on your telephone. you know, each letter has a number associated with it, so examine your telephone keypad. generate 512 random 3 letter initials and take statistics on a linked list array size 512 to hold this information report how many have no elements, 1 element, 2 elements, does this agree with the hashing statistics distribution?
Answers: 1
image
Computers and Technology, 23.06.2019 02:50, bfell92
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, Vanesssajohn2962
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
You know the right answer?
What's wrong with this code in Python 3? I'm trying to make it add the total lengths together but I...

Questions in other subjects: