Question #200761

Symbolic Python Ass #2

https://ibb.co/hFr5cXp


Expert's answer

In python variable can be defined by simply assigning a value to it. there is no need to define the type of variable, whether it is int, float or str.

x = 1

y = 4.1

z = India


In python function can be defined as:

def f():

print('Hello from f')


def g():

print('Hello from g')


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS