fixed bug and added a little documentation
This commit is contained in:
+19
-1
@@ -1,5 +1,23 @@
|
||||
|
||||
if 'hello' == 'hello':
|
||||
a = 'Francesco';
|
||||
b = 'Gennaro';
|
||||
|
||||
print('Are ', a, ' and ', b, ' the same name?\n');
|
||||
|
||||
if a == b:
|
||||
print('Yup!\n');
|
||||
else
|
||||
print('Nop!\n');
|
||||
|
||||
|
||||
# Now they are!
|
||||
|
||||
a = 'Francesco';
|
||||
b = 'Francesco';
|
||||
|
||||
print('Are ', a, ' and ', b, ' the same name?\n');
|
||||
|
||||
if a == b:
|
||||
print('Yup!\n');
|
||||
else
|
||||
print('Nop!\n');
|
||||
Reference in New Issue
Block a user