Skip to content

Commit e434144

Browse files
committed
Some updates
* Fix some README.md files * Add newline in some source files Signed-off-by: Ercan Ersoy <ercanersoy@ercanersoy.net>
1 parent afb75a5 commit e434144

File tree

20 files changed

+20
-8
lines changed

20 files changed

+20
-8
lines changed

circle-calculator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Circle Calculator
22

33
A circle calculator program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example gets radius of an circle and calculate and display its circumference and area.

circle-calculator/circle-calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
print(circumference)
1414

1515
print("Area: ", end="")
16-
print(area)
16+
print(area)

hello-world/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Hello, World
22

33
A "Hello, World!" example program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example shows "Hello, World!" string.

hello-world/hello-world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) 2020 Ercan Ersoy
33
# This file licensed under MIT License.
44

5-
print("Hello, world!")
5+
print("Hello, world!")

image-edge-detection/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Image Edge Detection
22

33
An simple image edge detection program
4+
45
Copyright (c) 2024 Ercan Ersoy
56

67
This example detects edges and captures an image from first webcam.

number-guess-game/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Number Guess Game
22

33
A number guess game program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example gets guess number and generate a random decimal number from 0 to 100. If player guesses the number, the player wins. Otherwise the player loses.

number-guess-game/number-guess-game.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
else:
2929
print("You should guess a bigger decimal number.")
3030

31-
print("You have not been guessed this random number.")
31+
print("You have not been guessed this random number.")

random-number-generator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Random Number Generator
22

33
A random number generator program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example generates desired random number of desired range.

random-number-generator/random-number-generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
while random_number_count != 0:
1212
print(uniform(minimum_random_value, maximum_random_value))
1313

14-
random_number_count -= 1
14+
random_number_count -= 1

rock-paper-scissors/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Rock, Paper, Scissors
22

33
A rock, paper, scissors game program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example plays with a player rock, paper, scissors game

rock-paper-scissors/rock-paper-scissors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
if (computer_choice == 1):
3939
print("You lose.")
4040
else:
41-
print("You win.")
41+
print("You win.")

simple-calculator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Simple Calculator
22

33
A simple caclulator program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example can calcualte two numbers with addition, substraction, multiplication and division operations.

simple-calculator/simple-calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@
3636
else:
3737
print("Wrong choice!")
3838

39-
print()
39+
print()

simple-server/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Simple Server
22

33
A simple server program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example is giving information.

simple-server/simple-server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
connection.close()
2626
print("A connection closed.")
2727

28-
sys.exit()
28+
sys.exit()

simple-window/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Simple Window
22

33
A simple window program
4+
45
Copyright (c) 2022-2024 Ercan Ersoy
56

67
This example shows a example window.

user-input-window/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# User Input Window
22

33
An simple user input program with window
4+
45
Copyright (c) 2022-2024 Ercan Ersoy
56

67
This example does not used a variable.

user-input/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# User Input
22

33
An simple user input program
4+
45
Copyright (c) 2020-2024 Ercan Ersoy
56

67
This example does not used a variable.

user-input/user-input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) 2020 Ercan Ersoy
33
# This file licensed under MIT License.
44

5-
print(input("Enter a value: "))
5+
print(input("Enter a value: "))

video-capture/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Video Capture
22

33
An simple video capture program
4+
45
Copyright (c) 2024 Ercan Ersoy
56

67
This example shows video display from first webcam.

0 commit comments

Comments
 (0)