Sublime Forum

Int input function error

#1

My sublime text four is not taking in integer input for some reason it does take the usual string input but the cursor skips when it’s time to take the integer input and the program terminates

The command used is:
a = int(input(“Enter number”))

Note that the letter ‘i’ turns italics in int and remains normal in input

Version:Sublime Text 4

0 Likes

"with sr.Microphone() as source:" doesn't work in sublime text
#2
1 Like

#3

I appreciate your help but is there not a easier way around it?

0 Likes

#4

No. That is not an “input” panel after all. There should be really a FAQ for this top 1 asked question… But, there is no (easy) official way to deal with it.

0 Likes