Question: im not sure what im doing wrong, I've tried multiple ways and it either failes to compile or simply just doesn't compile as intended to.

![intended to. Please dont use: loops or brackets (for example: passCode[i] because](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f54f2c98e61_62066f54f2c316c5.jpg)
A 3-character string. passCode, is read from input. Replace each digit character in passCode with".: Otherwise, passCode is not changed. Ex. If the input is 5pd, then the output is: - pd 2 3 3] 2 isdigit 0 is used to check if each character in passCode is a digit. All digit characters in passcode are then replaced with :.. Not all tests passed. 1: Compare output Output differs. See highlights below. Input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
