subject

Magic_number = 3.3312 while True:
    user_number = float(input("Enter a number between 1 and 100: "))
    if round(user_number, 2) == round(magic_number, 2):
        print ("Correct!")
        break
    elif round(user_number,2) > round(magic_number, 2):
        print ("Too high!")
    else:
        print ("Too low!")

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Budgets you to do all of the following expect a) send frivolously b) avoid over spending c) gain financial independence d) examine your priorities and goals
Answers: 2
question
Computers and Technology, 23.06.2019 23:00
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a.add symmetry b.create a unified publication c.provide consistency d.save money
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Jason is working on a microsoft excel worksheet and he wants to create a print preview shortcut. his teacher asks him to access the customization option to create the new shortcut. which two tabs should jason select to place the print preview shortcut on the worksheet toolbar? a. new tab (custom) and new group (custom) b. new file tab (custom) and new tab (custom) c. new custom group and new command d. new custom tab and new command
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
This device directs network traffic. bridge hub nic repeater router switch
Answers: 3
You know the right answer?
Magic_number = 3.3312 while True:
    user_number = float(input("Enter a number between 1 an...
Questions
question
Mathematics, 06.02.2021 04:00
question
Mathematics, 06.02.2021 04:00
question
Mathematics, 06.02.2021 04:00
question
Mathematics, 06.02.2021 04:00
question
Mathematics, 06.02.2021 04:00
Questions on the website: 13722361