[Solved] I’m not sure of a way to go about this task using Python code [closed]


Most likely you are handling things as integers. You can use raw_input to read it in as is:

response = raw_input('Enter your number --> ')

And treat this as a string.

print ("Your first digit is", response[0])

solved I’m not sure of a way to go about this task using Python code [closed]