CYB/130 Week 5 Python LAB 6.5: Checker for integer string

$ 8

CYB/130 Week 5 Python LAB 6.5: Checker for integer string
Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input, and outputs yes if every character is a digit 0-9.

Ex: If the input is:
1995
the output is:
yes

Ex: If the input is:
42,000
or any string with a non-integer character, the output is:
no

6.5.1: LAB: Checker for integer string

927 in stock

SKU: CYB130WK5LAB6P5 Categories: ,

Description

CYB/130 Week 5 Python LAB 6.5: Checker for integer string
Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input, and outputs yes if every character is a digit 0-9.

Ex: If the input is:
1995
the output is:
yes

Ex: If the input is:
42,000
or any string with a non-integer character, the output is:
no

6.5.1: LAB: Checker for integer string

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.