Python Beginner Tutorial 9 - Modules

preview_player
Показать описание
This is an introduction to Python Exceptions. All Links and Slides will be in the description. Subscribe for more cool stuff!

If you like what you see be sure to subscribe and thumbs up!
Рекомендации по теме
Комментарии
Автор

you are the best.... in teaching python to a person who is new to programming.. thanks a lot :D

varunmj
Автор

Hey thank you!! I just followed all the tutorial but I have some questions
1) Why you always use if __name__ == "__main__":

I just put the name of the definition to run the program

2) I made a program that calculate the divisors of an equation that return as output "the eqn is dividible by x +- result
Some times i got numbers like how can I convert it just to "1/3"???

3) nice videos i will continue to follow your intermediate/advanced tutorials :)

DanieleOlivieriFlash
Автор

File "tut9.py", line 6
number = math.fabs(number)
^
SyntaxError: invalid syntax
why does this error mean?
and how can i fix it?

kristoffervagenes
Автор

isn't it easier to just use abs() to get absolutt value, than to import math and then use math.fabs() or is there somethong else we can use it for?

loadingA
Автор

Hii Brother
Nice Tutorials
but i want to ask you one thing do u always use def Main():
even if it is not necessary?!

nilnimbarte