Computer Science, asked by nupurrohila7780, 1 month ago

Which is invalid in python for x =1 ?

Answers

Answered by Aryansingh001
1

Answer:

x = 1  

will assign value of a x to 1

but it won't be saved as a integer variable, the right way to assign value is

x = int(1)

however Both will work same there is no difference between this for ex-

watch the attached image

hope it helped u  

Explanation:

plz mark mark me as a brainliest

(❁´◡`❁)

Similar questions