From 69a427749a4b7c58b3a58ea43aadee985dc2e069 Mon Sep 17 00:00:00 2001 From: TinWoodman92 <chrhodgden@gmail.com> Date: Tue, 30 May 2023 18:34:47 -0500 Subject: added color designations for R and Python. --- source_file.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'source_file.py') 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) -- cgit v1.2.3