Skip to content

Commit

Permalink
Update helloworld.py (#3)
Browse files Browse the repository at this point in the history
* Update helloworld.py

* Update helloworld.py

* Update helloworld.py

* Update helloworld.py

* Update helloworld.py

* Update helloworld.py

* Move Everything down one line

* Update helloworld.py

* Update helloworld.py

* Update helloworld.py

* Update helloworld.py

* Update helloworld.py
  • Loading branch information
SahilPatnayakuni authored Nov 12, 2021
1 parent 41aa3ef commit c826949
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions helloworld.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@


print("Hello World")
print("Goodbye World")
print("This String has no end Quote)

print("This String has no end Quote")

dict_var = {'key1': 'value1', 'key2': 'value2'}
print(dict_var)

print(dict_var['key1'])
print("=====")
print(dict_var.get('some_key', None))
print(dict_var.get('wrong-parens', None)
print(dict_var.get('wrong-parens', None))
print(dict_var.get('wrong-parens', None))
print("=====")
print('\n')
print('\t')
print(dict_var.get('key2'))

0 comments on commit c826949

Please sign in to comment.