1-Name the type of strings python allows?
2-What would be the output of the following:
X,X=20,40
Y,Y=X+10, x+30
Print(x,y)
3-Under which category the following operators are categorised- a) //= :____________ operator
b) == :____________operator
c) Not in:____________operator
d) Is/is not : ___________operator
Answers
Answered by
2
The value of a precious stone varies according to its weight. The stone was broken into three pieces, and the weight of the pieces was 3: 4: 5. If this results in a loss of Rs 9400, what is the value of the stone?
Answered by
1
1)Python has a built-in string class named "str" with many handy features (there is an older module named "string" which you should not use). String literals can be enclosed by either double or single quotes, although single quotes are more commonly used.
Similar questions