+ 1

What is definition declare and call and def plzz explain with one example

18th Aug 2022, 4:27 PM
FAREED 5C0 !
2 ответов
+ 3
FAREED 5C0 ! def is used to define function in python def function_name(): print(10) number = 10 //here we declare a variable number with value 10 Call means when you use function then you call function like this: function_name() //this will print 10
18th Aug 2022, 5:07 PM
A͢J
A͢J - avatar
+ 1
Hi! Please, read lesson 37.1 python for beginner course
18th Aug 2022, 6:54 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar