Computer Science, asked by karthickrock64, 6 months ago

Debug the following python code
sal = 4567.8
Print (s+sal)​

Answers

Answered by bananisahoo1984
0

Explanation:

Mam the given activity we will do in A4 size,

Answered by indiaananddhruv
0

Answer:You will have to change the code to:

sal=4567.8

print("S",sal)

output:

S 4567.8

Explanation: In your code s is not defined. I think you meant to print s 4567.8. If you want to print a letter and a string in the same line ou have to use:

print("z",x)

where z can be replaced by any letter/number and x could be any number.

Similar questions