VivekDS commited on
Commit
3390acc
1 Parent(s): 40a4105

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +5 -5
app2.py CHANGED
@@ -23,17 +23,17 @@ def main():
23
  st.code("import streamlit as st")
24
 
25
  # Display Data
26
- st.header("Write stm :")
27
- st.write("This is a write statement")
28
 
29
  # Dataframe
30
- st.header("Dataframe")
31
  import pandas as pd
32
  df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
33
  st.write(df)
34
 
35
  # JSON
36
- st.header("JSON:")
37
  json_data = {"name": "John", "age": 30, "city": "New York"}
38
  st.write(json_data)
39
 
@@ -44,7 +44,7 @@ def main():
44
  st.write("Checkbox is checked")
45
 
46
  # Radio
47
- st.header("Radio:")
48
  radio = st.radio("Radio", ["Option 1", "Option 2", "Option 3"])
49
  st.write("Selected option:", radio)
50
 
 
23
  st.code("import streamlit as st")
24
 
25
  # Display Data
26
+ st.header("Write stm :")
27
+ st.write("This is a write statement")
28
 
29
  # Dataframe
30
+ st.header("Dataframe")
31
  import pandas as pd
32
  df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
33
  st.write(df)
34
 
35
  # JSON
36
+ st.header("JSON:")
37
  json_data = {"name": "John", "age": 30, "city": "New York"}
38
  st.write(json_data)
39
 
 
44
  st.write("Checkbox is checked")
45
 
46
  # Radio
47
+ st.header("Radio:")
48
  radio = st.radio("Radio", ["Option 1", "Option 2", "Option 3"])
49
  st.write("Selected option:", radio)
50