Computer Science, asked by muskan1290, 9 months ago

B)a=5 work=true b=hello c=a+b for i in range(10) if i%7=0: continue what is the error in this syntax

Answers

Answered by eaglevision28
0

Answer:

If its python :

work = True

b = 'hello'

Explanation:

Python boolean variable first letter should uppercase

hello should be in inverted commas.

Answered by nvats1007
1

Answer:

a=5

work=True

b="hello"

c=a*b

for i in range(10):

   if i%7==0:

     continue

Explanation:

true should be start with capital T as python is case sensitive

hello must be in inverted commas

c=a+b ,str+int can not add so here we use replication c=a*b

FOR is not a keyword instead of for

Similar questions