aboutsummaryrefslogtreecommitdiff
path: root/source_file.py
diff options
context:
space:
mode:
authorTinWoodman92 <chrhodgden@gmail.com>2023-05-30 18:34:47 -0500
committerTinWoodman92 <chrhodgden@gmail.com>2023-05-30 18:34:47 -0500
commit69a427749a4b7c58b3a58ea43aadee985dc2e069 (patch)
treed13e7527689216478d88a56958fd026cccbbaec5 /source_file.py
parent801d93de6f914c9ab699cace3934b78a5a74cc9b (diff)
added color designations for R and Python.
Diffstat (limited to 'source_file.py')
-rw-r--r--source_file.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/source_file.py b/source_file.py
index 9fe9788..d55741a 100644
--- a/source_file.py
+++ b/source_file.py
@@ -1,3 +1,11 @@
-msg = "hello world"
+def display_msg(msg):
+ print(
+ '\033[93m',
+ msg,
+ sep='',
+ end='\033[0m\n'
+ )
-print(msg)
+msg = "hello world - Python"
+
+display_msg(msg)