Home>

Excuse me
I am a super beginner in programming.
I'm trying to do the python input function as per the reference book, but it doesn't work.

I'm sorry for the rudimentary question that I don't know right or left.

Error message
a = input ("type a numeber:")
type a numeber:
Reference code
a = input ("type a number:")
b = input ("type another:")
a = int (a)
b = int (b)
try:
    print (a/b)
except ZeroDivisionError:
    print ("b cannot be zero.")
Tried

If i write a = input ("type a numeber:") first, type a numeber: will appear, so you can't proceed