Last active
September 16, 2022 15:52
-
-
Save gaspart/51f460e401ca5ce53151ce19184fa356 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
come_stai = function(){ | |
var = readline(prompt = "Da 1 a 10, come ti senti? ") | |
if (var == 10) {print (" Come un Dio ")} else | |
if (var %in% seq(6,9,1)) {print (" Potrebbe andare peggio ")} else | |
if (var %in% seq(2,5,1)) {print (" Senti un medico ")} else | |
if (var < 2) {print (" Scappa finché sei in tempo! ")} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment