Комментарии:
You are a cool guy
ОтветитьI'm like number 816
ОтветитьSentdex can you help me setup my hacking group retr0sec
ОтветитьSentdex you are the best
ОтветитьBrilliant lectures mate.
Ответитьhow does he get 'pink' is not on the list? I have only "continuing". Absolute beginner.
ОтветитьSo I tried to set up data validation to test to see if the user input was a valid int or float. The only way I got it to work was with the try / except. I even tried the isinstance to return true or false but because user input is automatically set as string it didnt work. Any help would be great, as of right now I'm converting the user I put into float and doing the try except on the value error because letters cant be converted to float.
Ответить@Sentdex please post your ERC20 address up. Your videos are some of the most helpful and comprehensive education tools I've come across and you deserve to be rewarded :)
Ответитьmr. sentdex why did you choose win 10, i like win 8.1 better though
ОтветитьHow to make a csv file?
ОтветитьEverything works fine till I add the if, else. After that the problem is if I enter say GreeN even though we have
the whatColor.lower()) to allow the use of upper case or lower case, it doesn't work for me. Again when I
use the if else, other wise it all works fine. Any help as to why?
Hello, Sentdex, do you know why excepton function in the code write as below cannot work? I input word not in the list, however, there is no exception posted. Thank you.
y=["s","A","siri","b","a"]
try:
word=input("input the word you want:\n")
if word in y:
indexof=y.index(word)
print(word)
# else:
# print("word not in the list")
except Exception as e:
print(e)
May I know what is the meaning of e?sorry, I'm new in python.
Ответитьare you Snowden? or his tiwn brother.
Ответитьcan you use a ide with a darker theme? just like pycharm or sublime. because the white theme of your ide makes my eyes burn, probably not just me
Ответитьcan you make a VIDEO about assertion please.
Ответитьmy python program shows "inconsistent use of tabs and spaces in indentation" please help!
Ответитьexplained it wrong though. it's not that it won't throw the exception, it's that it won't catch the exception.
Ответитьexcept(OverflowError, ValueError):
except TypeError:
except AttributeError:
...