Skip to content

Commit 0825512

Browse files
committed
Refactor: to Portuguese for English.
1 parent a6cbfe7 commit 0825512

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ex025.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Create a program that reads a person's name and tells if they have "Silva" in their name
1+
#25- Create a program that reads a person's name and tells if they have "Silva" in their name
22
name = str(input('What your full name?'))
33
print(F'Your name has Silva? {'silva' in name.lower()}.')

ex027.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 a person's full name, then shows the first and last names separately.
1+
#27- Write a program that reads a person's full name, then shows the first and last names separately.
22
name = str(input('Enter your full name:'))
33
value = name.split()
44
print('Muito prazer em te conhecer!')

ex031.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Develop a program that asks the distance of a trip in km. Calculate the ticket price, charging R$0.50 per
1+
#31- Develop a program that asks the distance of a trip in km. Calculate the ticket price, charging R$0.50 per
22
# km for trips up to 200km and R$0.45 for longer trips.
33
distance = float(input('What is the distance of your travel?'))
44
print(f'You wil stard a travel of {distance}km.')

0 commit comments

Comments
 (0)