Computer Science, asked by kyliegracelynn8572, 9 months ago

Suppose from different commands we type, we just want to save the first 5 and then 8th and 13th command. What we should do? Select one: Type the command %save /home/fossee/new_plot_script.py 1:5, 8, 13 Type the command %save /home/fossee/new_plot_script.py 1-5, 8, 13 Type the command %save /home/fossee/new_plot_script.py 1:5 8 13 Type the command %save /home/fossee/new_plot_script.py 1-5 8 13

Answers

Answered by Anonymous
15

Answer:

Entering commands at the prompt is just the beginning. Let’s use IDLE to save and run files. With this skill you’ll be able to write and build complex and powerful Python programs. IDLE has two modes: interactive and script. We wrote our first program, “Hello, World!” in interactive mode. Interactive mode immediately returns the results of commands you enter into the shell. In script mode, you will write a script and then run it.

Let’s create a module. We’ll cover modules in depth later. For now, all you need to know is that a module is a file containing Python code ending in the suffix:

Answered by EshanVasaikar
2

Answer:

3. Type the command %save

/Home/fossee/new_plot_script.py 1:5 8 13

Explanation:

To save the first 5 operations you can perform easily like n series.

For the next one that is 8th and 13th position you can use the Fibonacci series formula by initially input the first element as 3 and 5 then add these two to get 8.

Add the sum to the second elements variable

that is 8 will be added with 5.

The result for last operation will be 13.

Similar questions