Review and make all the examples
1. Function
but
== -> in = since == is only used when both sides are equal, but in will show if the number are included in variable
But I couldn't see the statements
It only showed the numbers
print()
len()
type()
input()
result
who?me
me
2
<class 'str'>
<class 'list'>
<class 'builtin_function_or_method'>
As well as sum, max, min
15
5
1
round ->
6.3423
setting default in function?
hi, Kevin
None
hi, why
None
no problem
*args and **kwargs
remember ','
Ex.
. means that the data in the back is fetched from the module in front.
-> math.sqrt ->sqrt is placed inside of the math module
bringing sqrt from(.) math = same as -> from math import sqrt
. This means that the data in the back is fetched from the module in front.
self = to store its own data when the __init__ function is called. That's why it stores data called names such as self, name, etc.
-> error.
Good night(I had to suffer because of some error!!!!!! in Anaconda-> had to spend more than 5 hours to fix it....)