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
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
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
Computer Science,
4 months ago
Physics,
4 months ago
French,
4 months ago
Math,
1 year ago
Economy,
1 year ago