File size: 323 Bytes
1280c21
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import streamlit as st

def main():
    st.title("Addition of Two Numbers")
    
    num1 = st.number_input("Enter the first number:")
    num2 = st.number_input("Enter the second number:")
    
    result = num1 + num2
    
    st.write(f"The result of {num1} + {num2} is: {result}")

if __name__ == '__main__':
    main()