My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Question #47990
How do I write a program to produce output like the following:-
Cost of 1st item
Enter pounds > 1
Enter pence > 45
Cost input for 1st item is 1.45
Expert's answer
#!/usr/bin/env python3
print("Cost of 1st item")
pounds = input("Enter pounds > ")
pence = input("Enter pence > ")
print( "Cost input for 1st item is {0}.{1}".format( pounds, pence ) )
Our fields of expertise
Programming
Math
Engineering
Economics
Physics
LATEST TUTORIALS
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult. You can find this expert in "Assignmentexpert.com" with confidence. Exceptional experts! I appreciate your help. God bless you!
#340153
on Dec 2023
Read all reviews >>