0
What is str refers for
9 Antworten
+ 4
It can be used to convert a value to a string, like this:
x = 3
y = str(x)
print(y + '4')
y is a string with value'3'.
+ 3
Everybody will try to help if you post your code and tell us where you have a problem.
+ 2
I can't help if I don't see the code.
+ 1
Then you used an if statement or a loop and didn't indent the lines after the line that ended with a :
0
ok
0
could you help me making simple calculator
0
I was stuck at the subtraction code
I entered everything but the result isn't displaying
0
the error was "expected a intended block"
0
sry it is indented