❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

based in python variable

3 September 2024 at 14:49

variable is collection of stored data

Variable

a=20
b="Avinash"
print(a,b)

casting

a=input()
b=input()
c=input()
print(a,b,c)

variablename

my_variablename="Python programming"
print(my_variablename)

variable a assign multiple value

x,y,z="Avinash","arjun","Arun"
print(x,y,z)

one value to multiple value

x=y=z="Avinash"
print(x,y,z)

unpack

movie=["Rayyan","singam","goat"]
x,y,z=movie
print(x,y,z)

gloabal variable

x="Avinash"
def myfun():
print("Python develop "+x)
myfun()

o/p
20 Avinash
4
5
6
4 5 6
Python programming
Avinash arjun Arun
Avinash Avinash Avinash
Rayyan singam goat
Python develop Avinash

Basic of python

29 August 2024 at 15:53

python
Basic of python
The python is the develop in the author: Guido van rossum in 1991
The python is interperters and compiler language
The python difference in interperters and compiler
interper:
It excutes a program line by line
It is a slow process
It does not generate any form of output
It takes less utilized of cpu
compiler:
It translates a program on a single run
It is fast process
It generate output in the form of .excuted
It is utilized cpu more

❌
❌