Answer: Following code is in python
n=input()
num='1'
while int(num)<=int(n): //loop from 1 to n
flag=1 //if an unequal element will be found it will be 0
l=len(num)
if num[0]=='3':
j=0
k=l-1
while j<k: //loop till middle of number
if num[j]==num[k]:
j+=1 //from beginning
k-=1 //from end
else:
flag=0
break
if flag==1:
print(int(num))
num=str(int(num)+1) //number will be incremented as integer
INPUT :
1000
OUTPUT :
3
33
303
313
323
333
343
353
363
373
383
393
Explanation:
In the above code, a loop is executed till num is equal to n which is entered by the user. num is treated as a string so that to ease the process of checking first character is 3 or not. If it is 3 then another loop executes which checks if an element from starting is equal to the corresponding element from the end. If an element is not equal then the flag is changed and then we break out of the loop and prints the number if the flag isn't changed.
Answer:
"The British" are people statically from Great Britain in the UK.
This statement is true.
Drivers should always scan the road ahead to check for any potential hazards so that they have enough time to safely avoid any dangerous situations. It is very important for a driver to be constantly scanning the road while driving to take in his or her surroundings.
Hope this answer helps! :)
Answer:
false
Explanation:
pretty sure energy in motion is only for kinetic energy
Answer:
Optional product pricing
Explanation:
<em>Optional product pricing</em> occurs when a product is sold for a much lower price but complementary products or accessories are sold separately to generate profit.
A typical example is in the printer category, printer cartridges are sold separately from the printer when the one in the newly purchased printer runs out. The customer is forced to purchase new cartridges that the company benefits from as profits.
Optional product pricing is a strategy to provide less expensive technology while exploiting the frequent use of accessories to make a substantial profit.