Skip to content

Commit 81f4894

Browse files
committed
doc: add comments
First commands in Pycharm.
1 parent b92dc3c commit 81f4894

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

ex001.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# 01- Create a program that writes "Hello world!" on the screen.
22
print('\033[1;32;40m Hello, world!\033[m')
3+
4+
'''PT- Crie um programa que escreva Olá mundo! na tela.
5+
print(Olá, mundo!)'''
6+
7+
#PT- print vai mostrar na telá a mensagem que você deseja.
8+
#En- print will show the menssage you want.

ex002.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
#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}!')
4+
5+
'''PT- Crie um programa que pergunte o nome do usuário e mostre uma mensagem de boas vindas.
6+
nome = input('Qual o seu nome?')
7+
print(f'É um prazer te conhecer {nome}, sejá bem vindo ao mundo Python')'''
8+
9+
#PT- Nesse exercício fizemos o uso de uma variável "nome" que recebe um valor e logo mostra o mesmo na tela.
10+
#EN- In this exercise we used a "name" variable that receives a value and then shows it on the screen.

0 commit comments

Comments
 (0)