anonymise.py

Download anonymise.py file


## anonymise.py (template file)

print("This code should transform a string to a version")
print("with all small letters a replaced by x and all" )
print("capital letters replaced by X." )

## The computation requires 1 input:
input_string   =  input( "Enter a string (e.g. your name): " ) 

## Delete the following line and add your own code here
## to compute the answer.
anonymous = "NOT ATTEMPTED"


print( "The anonymous version of the string is:", anonymous )

# make sure that the answer is the last thing you print!