move testing page down
This commit is contained in:
Binary file not shown.
@@ -1,32 +1,12 @@
|
|||||||
# sample function without input arguments and return values
|
# Example 3: Demonstrating basic arithmetic operations
|
||||||
|
|
||||||
def print_hello():
|
a = 10 # Assigns integer 10 to variable 'a'
|
||||||
|
|
||||||
b = 3 # Assigns integer 3 to variable 'b'
|
b = 3 # Assigns integer 3 to variable 'b'
|
||||||
print('Hello WT!')
|
|
||||||
|
c = 2.5 # Assigns floating-point number 2.5 to variable 'c'
|
||||||
|
|
||||||
|
|
||||||
# type function name to call the function directly.
|
|
||||||
|
print('Addition: ', a + b) # Prints the sum of 'a' and 'b'
|
||||||
print_hello()
|
|
||||||
|
|
||||||
print_hello()
|
|
||||||
|
|
||||||
print_hello()
|
|
||||||
|
|
||||||
# sample function with input arguments and return value
|
|
||||||
|
|
||||||
def tree_sum(a,b,c):
|
|
||||||
|
|
||||||
result = a+b+c
|
|
||||||
|
|
||||||
return result
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# call function with given values and use another variable to hold return values
|
|
||||||
|
|
||||||
sum1 = tree_sum(1,2,3)
|
|
||||||
|
|
||||||
sum2 = tree_sum(4,5,6)
|
|
||||||
|
|
||||||
@@ -12,7 +12,6 @@ def navigation_bar():
|
|||||||
st.image("./images/BuffTeksLogo.png", caption="Building Skills, Crafting Code, Bridging Communities")
|
st.image("./images/BuffTeksLogo.png", caption="Building Skills, Crafting Code, Bridging Communities")
|
||||||
|
|
||||||
page_label = sac.menu([
|
page_label = sac.menu([
|
||||||
sac.MenuItem("Testing", icon='fingerprint'),
|
|
||||||
sac.MenuItem('Homepage', icon='house'),
|
sac.MenuItem('Homepage', icon='house'),
|
||||||
sac.MenuItem('BuffTeks Project', icon='bi bi-laptop'),
|
sac.MenuItem('BuffTeks Project', icon='bi bi-laptop'),
|
||||||
sac.MenuItem('BuffTeks Event', icon='calendar-event'),
|
sac.MenuItem('BuffTeks Event', icon='calendar-event'),
|
||||||
@@ -25,6 +24,7 @@ def navigation_bar():
|
|||||||
sac.MenuItem('Lesson3', icon='3-square'),
|
sac.MenuItem('Lesson3', icon='3-square'),
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
|
sac.MenuItem("Testing", icon='fingerprint'),
|
||||||
sac.MenuItem(type='divider'),
|
sac.MenuItem(type='divider'),
|
||||||
sac.MenuItem('Link', type='group', children=[
|
sac.MenuItem('Link', type='group', children=[
|
||||||
sac.MenuItem('Join Us', icon='person-plus', href='https://wtamuuw.az1.qualtrics.com/jfe/form/SV_2boQtKLCptO33HE'),
|
sac.MenuItem('Join Us', icon='person-plus', href='https://wtamuuw.az1.qualtrics.com/jfe/form/SV_2boQtKLCptO33HE'),
|
||||||
|
|||||||
Reference in New Issue
Block a user