Oct-18-2020, 03:32 PM
(Oct-17-2020, 10:41 PM)Yoriz Wrote: You need to enter the temperature and number two times because the inputs are asked for twice
def main(): displayIntro() tempType = inputTempType() # first time asking tempValue = inputTempValue() # first time asking continueChoice = "Y" while continueChoice == "Y" or continueChoice == "N": tempType = inputTempType() # second time asking tempValue = inputTempValue() # second time asking
Hey thank you very much man!! your solution worked and my code have no error now. All I did is remove the tempType and the tempValue in in the displayIntro() haha