Changes

Jump to: navigation, search

OPS435 Python3 Lab 4

6 bytes added, 23:51, 4 February 2020
m
PART 2 - Searching and Validating
'''Create a Python script to validate user input'''
:'''Perform the following instructions'''
:# Create the '''~/ops435/lab4/lab4e.py ''' script. The purpose of this script is to define a function called is_digits(), which takes a string object as its argument and return True if all the characters in the string are all digits, i.e 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9; return False if any one of the characters is not a digit.
:# Use the following template to get started:<source lang="python">
#!/usr/bin/env python3
14
edits

Navigation menu