"+" Makes Concatenation of Two Strings.: List and Tuples
"+" Makes Concatenation of Two Strings.: List and Tuples
no
need to write the "print()" function.
Every time we enter any thing on interpreter it is taken as a string / text. Hence if we are trying to add
variables on interpreter directly it will give a concatenation of the two variables. Bcoz in case of strings
“+” makes concatenation of two strings.
Functions-
Defining a function – eg :
….
….
Func(“george”)
In this example if we do no pass second parameter, the default value will be printed.
If name of a module is too long we can import it using some other name like-
Import time as t