Answer:
You need exit condition like If, otherwise method will repeat endlessly.
21...............................
Answer:
Follwing is the python code:-
word=str(input("Enter the string\n"))
new=word[0:3] #expression for first three characters of the string.
print(new)
Output:-
Enter the string
chandelier
cha
Explanation:
The expression word[0:3] is for extracting first three characters form the string.
word[0:3] = It extracts characters from index 0 to index 2 it does not include 3.3 is excluded.
I think it’s number 1. Check the answer first.
Explanation:
Electric devices, such as lights and household appliances, change electric current to other forms of energy. For example, an electric stove changes electric current to thermal energy. ... A message encoded this way is called an electronic signal, and the use of electric current for this purpose is called electronics
MARK ME AS A BRAIN LIST