Answer:
The output will be:
B
o
n
d
0
0
7
Explanation:
Given code is of Python language
Let us look at the code line by line
The first line is:
my_list = [7, 0, 0, "d", "n", "o", "B"]
This line will create a list with the given elements.
my_list.reverse()
This line will reverse the sequence of the elements of the list
for thing in my_list:
print (thing)
These lines will simply print the reversed elements of the list on screen.
The output will be:
B
o
n
d
0
0
7
Instant messaging (IM) is a type of communication where one person can send a message (typically text based) and have another (1 or more) recipient receive the message.
You can access a full-screen TTY session by holding down the Ctrl+Alt keys, and pressing one of the function keys. Ctrl+Alt+F3 will bring up the login prompt of tty3. If you log in and issue the tty command, you'll see you are connected to /dev/tty3.
Explanation:
- tty2 is short for teletype, but it's more popularly known as terminal.
- It's basically a device (implemented in software nowadays) that allows you to interact with the system by passing on the data (you input) to the system, and displaying the output produced by the system
- You can either : press ctrl+alt+F7 Or run the command startx if the above commands do not work.
- The tty command of terminal basically prints the file name of the terminal connected to standard input.
- In Linux, there is a pseudo-teletype multiplexor which handles the connections from all of the terminal window pseudo-teletypes (PTS). The multiplexor is the master, and the PTS are the slaves.
- The multiplexor is addressed by the kernel through the device file located at /dev/ptmx.
- The -s (silent) option causes tty to generate no output.
Answer:
n= input("Please enter the next word: ")
x=1
while(n != "STOP"):
print("#" + str(x) + ": You entered " + n)
x=x+1
n= input("Please enter the next word: ")
print("All done. " + str(x-1) + " words entered.")
Explanation:
You need to first format the table becfor you can sort and filter data in a <span>database. ♥</span>