Answer:
A program is a set of instructions that a computer executes.
An algorithm is a set of instructions that must be done in order to get some result.
If an algorithm is written in a programming language, then the program is an implementation of the algorithm.
An algorithm must not, however, be a program. An algorithm can also be performed manually (e.g. calculate 6431 + 8316 on paper or in your head).
Explanation:
firstly we have to initialize the variable, means to give variable a value and then print the statement
string = "fahadisahadam"
print(string[:3]+"..."+string[-3:])
string is a data type that contains two or more characters.
means the string is fahadisahadam so the print will print first three characters. follow by three periods(...) and then last three characters.
The output will be:
fah...dam
Answer:
On excel, Ctrl + F8 is the shortcut for the Macros dialog box
Explanation: