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
Ne4ueva [31]
4 years ago
11

Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input, and outpu

ts yes if every character is a digit 0-9.
Computers and Technology
2 answers:
Bond [772]4 years ago
7 0

Answer:

user_string = input("Input a string : ")

output = user_string.isnumeric()

if output == True:

   print("yes")

else:

   print("no")

Explanation:

  • First of all check whether user input have all numeric value or not .
  • Display yes if string contain all numeric values .
  • Display no if string contain at least one non - integer character .

evablogger [386]4 years ago
4 0

Answer:

text = input("enter a value: ")

if text.isdigit():

       print("yes")

Explanation:

The program is written in python.

text = input("enter a value: ")  This expression prompt the user to input  a string value containing any form of character . The inputted character might be letters, digits etc.

if text.isdigit():

This check if the inputted value is a digit .

print("yes")

if the value is a digit the system will display yes.  

You might be interested in
Please help .........​
Verdich [7]

Answer:

I don't think brainly can help on this one chief I think you will have to research the topic and write about it yourself. or just write 3 facts and put spaces until you reach the limit.

3 0
3 years ago
Which command can be used to remove the test dpm package, including any test configuration files?
sesenic [268]
The apt-get remove test  command can be used to remove the test <span>Debian package management (</span>dpm) package, including any test configuration files.  
6 0
4 years ago
There are many best practices for digital recordings. Select the three best practices from the list below. select the best micro
Leya [2.2K]

Explanation:

1. Wear your headphones while listening to your recording: It is important to make sure there are no echoes or background noises in the room.

2. Pay attention to your surroundings: It is important to eliminate any unwanted motions or unwanted noises associates with motion.

3. Use a tripod or a table microphone: It is important not to be distracted by background noise or confuse it with background noise from your recording.

3 0
3 years ago
Which two standards below represent newer versions of stp??
valina [46]
Standard Tree Protocol (STP) is a networking protocol that was made by Radia Perlman. It makes a single path over a network, averting any loops from happening. Even if there are multiple paths to the same destinations. It has two never versions which is 802.1s and 802.1w.
8 0
3 years ago
How to bypass a Lightspeed and Rocket Filter blocked website without being a admin and without downloading extensions? Must incl
AVprozaik [17]

You really cant without being admin. Calm yaself child

6 0
3 years ago
Other questions:
  • Having some prior knowledge about your topic is helpful when conducting internet research. please select the best answer from th
    7·2 answers
  • Which is a good plan for backing up data?
    7·1 answer
  • True or false: a game design document is like a diary for game developers
    13·2 answers
  • c++ Write a statement that increments (adds 1 to) one and only one of these five variables: reverseDrivers parkedDrivers slowDri
    6·1 answer
  • Jamal wants to write a program that will find the 10 most common words in Romeo and Juliet. Which of the following constructs wi
    5·1 answer
  • I need help 50 points and brainiest if you answer
    10·2 answers
  • Write a program in Java to input a letter. If it is an uppercase letter then
    7·1 answer
  • What should be taken into consideration when determining which critical information should be protected?
    11·1 answer
  • Can You do this to help me plz 50 points
    15·2 answers
  • How to give answer like this?????
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!