Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up

DS with R | Feb 1 2021 |Nimisha

For loop is not allowing me to read the value each time the loop runs . Can anyone help...

## Rock Paper Scissor ################
Player1 <- readline("Enter the name of player 1: ")
Player2 <- readline("Enter the name of player 2: ")

A=0
B=0
for(i in 1:5){
choise1 <- readline("Player 1 choose anything among rock paper scissor: ")
choise2 <- readline("Player 2 choose anything among Rock Paper Scissor: ")

if(choise1 == 'rock'){
if(choise2 == 'paper'){
B = B+1
}else if(choise2 == 'scissor'){
A = A+1
}
}else if(choise1 == 'paper'){
if(choise2 == 'rock'){
A = A+1
}else if(choise2 == 'scissor'){
B=B+1
}
}else{
if(choise2 == 'rock'){
B=B+1
}else if(choise2 == 'paper'){
A=A+1
}
}
}
if(A > B){
print(paste(Player1," is winner"))
}else if(A <B){
print(paste(Player2," is winner"))
}else{
print("Draw")
}
 

Swarntam Saurav

Active Member
Please join my WebEx training session that is currently in progress.

Topic: Data Science With R | Feb 18th | Nimisha Pandey
Host: Simplilearn Get Certified Get Ahead
Session number: 184 932 8619
Session password: E2336sYprTb


-------------------------------------------------------
To join the training session
-------------------------------------------------------
1. Go to https://simplilearnsolutions.webex..../j.php?MTID=t578ce71457738a82405c44627a5de74a
2. Enter your name and email address (or registration ID).
3. Enter the session password: E2336sYprTb.
4. Click "Join Now".
5. Follow the instructions that appear on your screen.

-------------------------------------------------------
To join the session by phone only
-------------------------------------------------------

India Toll (Bangalore):+91-80-6480-0114
India Toll (Mumbai):+91-22-6480-0114

Having trouble dialing in? Try these backup numbers:
Singapore Toll:+65-315-76442
Global call-in numbers: https://simplilearnsolutions.webex....in.php?MTID=t6323ef487af00b9cc5ccad17a7d72c54
Access code: 184 932 8619

-------------------------------------------------------
For assistance
-------------------------------------------------------
You can contact Simplilearn Get Certified Get Ahead at:
instructor01@simplilearn.us
 

Hitesh H S

Well-Known Member
Staff member
Simplilearn Support
Folks I will be sending an invite for tomorrow's class. Please check your inbox and Join the session.

See you all in the session.

Happy Learning !!!
 

Hitesh H S

Well-Known Member
Staff member
Simplilearn Support
Hi Folks, I have shared the invitation, please check your Inbox.

Happy Learning !!!
 

Hitesh H S

Well-Known Member
Staff member
Simplilearn Support
Please join my WebEx training session that is currently in progress.

Topic: Data Science With R | Feb 19th | Nimisha Pandey | Feb 1st - Feb 19th
Host: Simplilearn Get Certified Get Ahead
Session number: 184 843 9994
Session password: ubSG3Dhkh84


-------------------------------------------------------
To join the training session
-------------------------------------------------------
1. Go to https://simplilearnsolutions.webex..../j.php?MTID=t1a24bf05c1e937cf232b9fc465ecc80b
2. Enter your name and email address (or registration ID).
3. Enter the session password: ubSG3Dhkh84.
4. Click "Join Now".
5. Follow the instructions that appear on your screen.

-------------------------------------------------------
To join the session by phone only
-------------------------------------------------------

India Toll (Bangalore):+91-80-6480-0114
India Toll (Mumbai):+91-22-6480-0114

Having trouble dialing in? Try these backup numbers:
Singapore Toll:+65-315-76442
Global call-in numbers: https://simplilearnsolutions.webex....in.php?MTID=tba1170fbf3ccdadfb5721383c09e61a7
Access code: 184 843 9994
 

Hitesh H S

Well-Known Member
Staff member
Simplilearn Support
Those who haven't received the invitation, please post here. I will send the invitation again.
 
Hi nimisha mam, can you please check the screenshot of the project ?I have shared it in google drive and suggest on frequency table please.
Screenshot word file is in submission folder inside question folder as comcast project +soumya.
 
Good evening maam, Am doing my E-Commerce project. when I try to create hierarchical clustering am getting this error......
Error: vector memory exhausted (limit reached?)

I tried this in terminal....
cd ~ touch .Renviron open .Renviron
but not working....

what should I do?
 

Jeevan s

Member
HI, Who all are finished their test, how is it can anyone suggest that self learning pdf are better to study for the test or by online class that we have attended
 
Top