1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Marina86 [1]
3 years ago
13

I need help on what im doing wrong

Computers and Technology
1 answer:
laiz [17]3 years ago
6 0

Answer:

The error is that you're trying to convert a string with letters inside into an int. What happens if a user type in 'a' instead of '1'? 'a' is not a number so the int('a') would fail and give you an error. Make you add a line to check whether the input a number or not.

Explanation:

Change your code to

DEorAP  = input("Is it AP or DE?")

if DEorAP.isdigit()

  DEorAP = int(DEorAP)

You might be interested in
The trim video feature allows you to trim your clip by time measurements that are accurate to ____ of a second.
grigory [225]
The trim video feature allows you to trim your clip by time measurements that are accurate to one-thousandth of a second.  An example would be the P<span>owerPoint's </span>Trim Video feature which allows you<span> to </span>trim<span> the beginning and end of </span>your clip<span> by designating </span>your<span> desired Start </span>Time<span> and End </span>Time. These precise time measurements<span> are </span>accurate<span> to </span>one-thousandth<span> of a </span>second<span>.</span>
3 0
3 years ago
A user complains that Skype drops her videoconference calls and she must reconnect. At which layer of the OSI model should you b
umka2103 [35]

Answer: Application layer

Explanation:

Application layer of OSI(Open system interconnection) that is responsible for interfacing the communication with the user by displaying information or message. It maintains the transmission of file and assessment, emailing faculty, using network services etc.

  • According to the question,if any Skype user has complain regarding video call drop while conferencing then application is responsible to solve the issue.
  • This layer will be the starting point of troubleshoot by approaching to network resources.As call drop can occur due to network service, congestion or resource issue.
4 0
3 years ago
We piped the results of the Get-Process cmdlet to the Sort-Object cmdlet to sort them in descending order. Which property was us
Basile [38]
The answer is yes hope this helps did before
5 0
3 years ago
- If we place records from different tables in adjacent____________, it would increase efficiency of a database.
tiny-mole [99]

Answer: Physical location

Explanation:

If we place records from, different tables in adjacent physical location, it would increases efficiency of a databases as, database consolidates records from previously store in separate files into a common file. Databases are fast and efficient when they are dealing with large data. When all the information is stored in multiple physical location it is also known as distributed database, as physical location helps to provide the physical and logical path and also protect from default locations in the database.

3 0
4 years ago
You manage the DNS servers for the eastsim domain. You have a domain controller named DNS1 running Windows Server 2016 that hold
Ierofanga [76]

Answer:

..

Explanation:

...

3 0
3 years ago
Other questions:
  • In dt.py, you will implement a basic decision tree classifier for
    5·1 answer
  • Which activity represents a violation of the licensing agreement
    7·2 answers
  • The signal for a turn should be made at least ______ feet before yo wish to make the turn
    8·1 answer
  • Question 1
    14·2 answers
  • Write a program that prompts the user to enter the number of integer numbers you need to enter, then ask user to enter these int
    5·1 answer
  • Does using interior lighting help improve a drivers visibility at night
    11·1 answer
  • Does any body know how to bypass easy anti cheat on crossout
    7·1 answer
  • If you want the input gear to spin in the same direction as the output gear you must use a _______ gear.
    13·1 answer
  • At Moore High, 456 students attended the prom. This is 65 more students than
    13·2 answers
  • ________ is a technique where the general characteristics are kept and the details are hidden.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!