From 04783455ab4aca2c1267fca7eaa404eb14eea152 Mon Sep 17 00:00:00 2001 From: Samuel Bamgbola Date: Fri, 20 Oct 2023 16:55:53 +0000 Subject: [PATCH 1/4] Created streamlit script for project 3. --- Project_3/app.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Project_3/app.py diff --git a/Project_3/app.py b/Project_3/app.py new file mode 100644 index 00000000..e69de29b From 6dafe6c21b7e4178e575b30c940f7c91df7bd876 Mon Sep 17 00:00:00 2001 From: Samuel Bamgbola Date: Fri, 20 Oct 2023 16:58:29 +0000 Subject: [PATCH 2/4] Added input for jamb score. --- Project_3/app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Project_3/app.py b/Project_3/app.py index e69de29b..1178cc7b 100644 --- a/Project_3/app.py +++ b/Project_3/app.py @@ -0,0 +1,6 @@ +import streamlit as st + +import streamlit as st + +jamb_score = st.number_input('What was your Jamb score') +st.write('Your jamb score was ', jamb_score) \ No newline at end of file From dd5169182e4b2706854284e3e142135b432f8e93 Mon Sep 17 00:00:00 2001 From: Samuel Bamgbola Date: Fri, 20 Oct 2023 17:05:37 +0000 Subject: [PATCH 3/4] Added input for maths and english grades. --- Project_3/app.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Project_3/app.py b/Project_3/app.py index 1178cc7b..eeb75c14 100644 --- a/Project_3/app.py +++ b/Project_3/app.py @@ -1,6 +1,16 @@ import streamlit as st -import streamlit as st - jamb_score = st.number_input('What was your Jamb score') -st.write('Your jamb score was ', jamb_score) \ No newline at end of file +# st.write('Your jamb score was ', jamb_score) + +maths = st.selectbox( + 'What was your WAEC grade in Maths?', + ('A', 'B', 'C', 'D', 'E', 'F')) + +english = st.selectbox( + 'What was your WAEC grade in English?', + ('A', 'B', 'C', 'D', 'E', 'F')) + +st.write('Your jamb score was ', jamb_score) +st.write('Your Maths WAEC grade was ', maths) +st.write('Your English WAEC grade was ', english) \ No newline at end of file From 25f148c150d2d3e19451ef28ca475f7a220b8c77 Mon Sep 17 00:00:00 2001 From: Samuel Bamgbola Date: Fri, 20 Oct 2023 17:15:49 +0000 Subject: [PATCH 4/4] Added input for 3rd core subject. --- Project_3/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Project_3/app.py b/Project_3/app.py index eeb75c14..f6241f8d 100644 --- a/Project_3/app.py +++ b/Project_3/app.py @@ -11,6 +11,11 @@ 'What was your WAEC grade in English?', ('A', 'B', 'C', 'D', 'E', 'F')) +subject_3 = st.selectbox( + 'What was your WAEC grade in your 3rd core subject?', + ('A', 'B', 'C', 'D', 'E', 'F')) + st.write('Your jamb score was ', jamb_score) st.write('Your Maths WAEC grade was ', maths) -st.write('Your English WAEC grade was ', english) \ No newline at end of file +st.write('Your English WAEC grade was ', english) +st.write('Your WAEC grade in your 3rd core subject was ', subject_3) \ No newline at end of file