Posts by Gutemberg Schiessl • 101 points
2 posts
-
0
votes1
answer166
viewsA: Sorted for Bhaskara formula
You don’t need to put Elif if you’re no longer in a position to consider. if raiz1 < raiz2: print(f'as raízes da equação são {raiz1} e {raiz2}') else: print(f'as raízes da equação são {raiz2} e…
-
7
votes2
answers501
viewsA: How to receive an input during an R function?
Yes, one way to do that is to apply the function readline() to acquire user terminal input. formateCdoispontos <- function(){ resposta <- readline(prompt = "Tem certeza que quer fazer isso?…