Dear all, how are you? If you have any question related to python ask in @pyDiscussion group, I will make a short video about your question and post here.
#COVID19 #LearnDataScience #DataScience #StayHome
#COVID19 #LearnDataScience #DataScience #StayHome
#Assignment
Guess The Number
Write a programme where the computer randomly generates a number between 0 and 20. The user needs to guess what the number is. If the user guesses wrong, tell them their guess is either too high, or too low. This will get you started with the random library if you haven't already used it.
Post your solution in the comment box
#LearnDataScience #LearnPython #StayHome
Guess The Number
Write a programme where the computer randomly generates a number between 0 and 20. The user needs to guess what the number is. If the user guesses wrong, tell them their guess is either too high, or too low. This will get you started with the random library if you haven't already used it.
Post your solution in the comment box
#LearnDataScience #LearnPython #StayHome
#Solution for #Assignment by @MINtaa911
You can forward your feedback via @pyDiscussion
#Guess the number
from random import randint
def guess_number():
num = randint(0,20)
guess = int(input("Enter your guess number: "))
while(num != guess):
if(guess > num):
print("Your guess is too high")
elif(guess < num):
print("your guess is too low")
else:
break
guess = int(input("Enter your guess number: "))
print("you win")
guess_number()
#LearnDataScience #LearnPython #StayHome #PreventCOVId19
You can forward your feedback via @pyDiscussion
#Guess the number
from random import randint
def guess_number():
num = randint(0,20)
guess = int(input("Enter your guess number: "))
while(num != guess):
if(guess > num):
print("Your guess is too high")
elif(guess < num):
print("your guess is too low")
else:
break
guess = int(input("Enter your guess number: "))
print("you win")
guess_number()
#LearnDataScience #LearnPython #StayHome #PreventCOVId19
Another #Solution for #Assignment by @Amalright
You can forward your feedback via @pyDiscussion
from random import*
Def fun_game(number_chosen):
data=randrange(0,20)
if(nuber_chosen> data):
print("too much")
elif(nuber_chosen < data):
print("too low")
else:
print("correct answer :")
J = 1
While(j !=0)
choice =int(input("Enter 1 to continue"))
if(choice ==1):
choice =int(input("Enter your try"))
fun_game(choice)
else:
j =0
#StayHome #PreventCOVId19 #LearnPython #LearnDataScience #LearnRandomNumber
You can forward your feedback via @pyDiscussion
from random import*
Def fun_game(number_chosen):
data=randrange(0,20)
if(nuber_chosen> data):
print("too much")
elif(nuber_chosen < data):
print("too low")
else:
print("correct answer :")
J = 1
While(j !=0)
choice =int(input("Enter 1 to continue"))
if(choice ==1):
choice =int(input("Enter your try"))
fun_game(choice)
else:
j =0
#StayHome #PreventCOVId19 #LearnPython #LearnDataScience #LearnRandomNumber
Python is a programming language. Like other languages, it gives us a way to communicate ideas. In the case of a programming language, these ideas are “commands” that people use to communicate with a computer!
We convey our commands to the computer by writing them in a text file using a programming language. These files are called programs. Running a program means telling a computer to read the text file, translate it to the set of operations that it understands, and perform those actions.
#LearnPython #LearnDataAnalysis #StayHome #PreventCOVID19
We convey our commands to the computer by writing them in a text file using a programming language. These files are called programs. Running a program means telling a computer to read the text file, translate it to the set of operations that it understands, and perform those actions.
#LearnPython #LearnDataAnalysis #StayHome #PreventCOVID19
AWS Machine Learning Scholarship Program
https://www.udacity.com/scholarships/aws-machine-learning-scholarship-program?bsft_eid=bc85a78a-5d43-4e0c-5683-0f6e5336ecb1&utm_campaign=sch_600_2020-04-30_ndxxx_aws-ml-pre-reg-announcement_global&utm_source=blueshift&utm_medium=email&utm_content=sch_600_2020-04-30_ndxxx_aws-ml-pre-reg-announcement_global&bsft_clkid=4a1b2411-3bcd-4ccf-974a-23562b20e7e6&bsft_uid=6e0e8d28-5982-44df-b0e5-45e388c364e0&bsft_mid=2e378f52-c942-4dde-966a-37664fbc4cb8&bsft_ek=2020-04-30T21:02:38Z&bsft_mime_type=html
#StayHome #PreventCOVId19 #LearnMachineLearning
https://www.udacity.com/scholarships/aws-machine-learning-scholarship-program?bsft_eid=bc85a78a-5d43-4e0c-5683-0f6e5336ecb1&utm_campaign=sch_600_2020-04-30_ndxxx_aws-ml-pre-reg-announcement_global&utm_source=blueshift&utm_medium=email&utm_content=sch_600_2020-04-30_ndxxx_aws-ml-pre-reg-announcement_global&bsft_clkid=4a1b2411-3bcd-4ccf-974a-23562b20e7e6&bsft_uid=6e0e8d28-5982-44df-b0e5-45e388c364e0&bsft_mid=2e378f52-c942-4dde-966a-37664fbc4cb8&bsft_ek=2020-04-30T21:02:38Z&bsft_mime_type=html
#StayHome #PreventCOVId19 #LearnMachineLearning
Udacity
Become an AWS Machine Learning Engineer | Udacity
AWS and Udacity have partnered to create an all-new scholarship for our Machine Learning Nanodegree program.
Forwarded from Epython Lab (Asibeh Tenager)
#Assignment
Guess The Number
Write a programme where the computer randomly generates a number between 0 and 20. The user needs to guess what the number is. If the user guesses wrong, tell them their guess is either too high, or too low. This will get you started with the random library if you haven't already used it.
Post your solution in the comment box
#LearnDataScience #LearnPython #StayHome
Guess The Number
Write a programme where the computer randomly generates a number between 0 and 20. The user needs to guess what the number is. If the user guesses wrong, tell them their guess is either too high, or too low. This will get you started with the random library if you haven't already used it.
Post your solution in the comment box
#LearnDataScience #LearnPython #StayHome
👍2