Skip to content

Commit 6b50eea

Browse files
committed
Refactor: to Portuguese for English.
1 parent e7a4db1 commit 6b50eea

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

ex001.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Create a program that writes "Hello world!" on the screen.
1+
# 01- Create a program that writes "Hello world!" on the screen.
22
print('\033[1;32;40m Hello, world!\033[m')

ex002.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Create a program that asks for the user's name and writes a welcome message.
1+
#02- Create a program that asks for the user's name and writes a welcome message.
22
name = input('What is your name:')
33
print(f'Nice meet you, {name}!')

ex003.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Create a program that reads two numbers and displays the sum between them.
1+
#03- Create a program that reads two numbers and displays the sum between them.
22
first_number = int(input('Enter a number:'))
33
second_number = int(input('Enter another number:'))
44
print(f'The sum of {first_number} + {second_number} is equal to {first_number + second_number}.')

ex004.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Write a program that reads something from the keyboard and shows its primitive type and all the
1+
#04- Write a program that reads something from the keyboard and shows its primitive type and all the
22
# possible information about him.
33
value = input('Type something:')
44
print('The primitive type of this value is:', type(value))

ex005.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Write a program that reads an integer and displays its successor and predecessor on the screen.
1+
#05 Write a program that reads an integer and displays its successor and predecessor on the screen.
22
number = int(input('Enter a number:'))
33
print(f' If the number is \033[35m{number}\033[m,its predecessor is \033[31m{(number-1)}\033[m and his successor is \033[32m{(number+1)}\033[m.')

0 commit comments

Comments
 (0)