Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
97I8TOE47K authored Sep 17, 2021
1 parent 09bba71 commit 3773808
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
import numpy as np
from setuptools import setup
import os
import kivy
import tkinter as tk


def cbrt():
num=float(input("Enter a number "))
cube_root = num ** (1/3)
cube_root = math.cbrt(num)
print("The cube root of the number is: ",cube_root)


Expand Down Expand Up @@ -228,13 +230,19 @@ def options():
elif op == 9:
exit()
else:
u = str(input(("Invalid input. Input R to restart")))
u = str(input(("Invalid input. Input R to restart ")))
if u == "R":
options()
else:
print("Invalid input")
options()

#Elmo will dance for Asha ma'am









0 comments on commit 3773808

Please sign in to comment.