Question: 4-Python-Runic Tunes Highest grade: Copyright 2020. All rights reserved. Problem Statement You are writing a fantasy novel and need to come up with a new

4-Python-Runic Tunes Highest grade: Copyright 2020. All rights reserved. Problem Statement You are writing a fantasy novel and need to come up with a new language that you plan to call "Runic". All Runic words start with 'n'. Additionally, you decide that "p", regardless of case, is not a letter in Runic, so you want to ignore all words that have a "p". Write a program that takes in one English word, determines if the word is spelled with a "p", and (if not) recombines the first half and the second half of the word into a new Runic word. Finally, print out the newly created word or an error message (for words that contain a "p"). Sample Input 1 Submit 5-Python CloPytamidDebugging Highest grade Note a version of this problem was given in Studio 1, but very few students completed it successfully. Let's try again! An Egyptian architect proposes to add a pool to the bottom third of a pyramid so that Cleopatra, Egypt's tast Pharaoh, can have a relaxing bubble bath in the ai in the afterworld. She requests that the pool should take as much as 30% of the pyramid's volume. The architect the said all the way to the Pacific to retrieve a certain amount of pristine water from a nutrient rich Kalp forest. Unfortunately, he contracts malaria and dies. In a land far away, Roman general named Marc Antony becomes smitten with the charms of the Egyptian queen and brings back the magical water filled with potent cell-renewing antioxidants. Since the construction team has built the base of the pyramid, he promises to gift Cleopatra her desired pyramid and pool. However, no one knows where the late architect stored the hieroglyphic papyrus that contains all the crucial measurements, such as the height of the pyramid. All they know is that the volume is what Alas. Marc Antony needs help figuring out the height that the pyramid needs to be so he can finish building and impress the queen He's got a Python program to do this, but it doesn't work yet. Can you debug his code? Editor Submitted Versions 1 Your name and/or your partnername 2 CSC 102 Section 3 4fy the 1 -FI RC leoPyrah 4 5 Enter the volume of the collowing lixer 6 volume 10 - Int(input()) 2 Enter the area of the base 9 area int(input()) 1e 11 Worint the height of the pyramid and the volume on 2 separate lines 12: Hull_vol - volumel_30 7.3 13 Whelight - 3full vol/areas 14 height - volumet_30/area 15 16 #round the values up round() 17 dHT - round(height) 10 print (rdut) 10 20 volun - harta ) 21 print (round(volutel, 2>> Input The first line contains the volume of the cell renewing vir that Marc Antony brings back from the Pacific Submit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
