Skip to content

rolleyfi/template.md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

template.md

that's how my .md reports looks like ๐Ÿ™„

Practical work No. 101

Topic: example of working with an MD file

Goal: learn how to mark up an MD file

Progress

Task:

Create an algorithm that raises a number to the 10th power.

Test case:

I enter the number 2, I get the result 1024.

I enter a number in and the result is 0.

I enter the number 2 and get the result 1024.

System analysis:

Input data: int x`

Intermediate data: int i

Output: int result

Block diagram:

Block diagram

Program code:
x = int(input('Enter a number: '))

result = 1

for i in range(10):

result = x

print (f'Result: (result)')
Result of the program:
  • Enter the number 2

Screen_1

  • Enter the number 0

Screen_2

  • Enter the number -2

Screen_3

Conclusion on the work done:

But you could just do it like that - result = x ** 10

About

๐Ÿ™„that's how my .md reports looks like ๐Ÿ™„

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published