Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Open Assignment_02.ipynb using colab google, to connect with google drive, use my account: user name: ringku146.bd Password: 65989654faiz Open Assignment_02.ipynb file and procced & read the...

1 answer below »


Open Assignment_02.ipynb using colab google,
to connect with google drive, use my account:
user name: ringku146.bd
Password: 65989654faiz
Open Assignment_02.ipynb file and procced & read the assignment
Also for youtube presentation video upload, do it using my google account
Thanks..
Answered 3 days After Apr 03, 2022

Solution

Salony answered on Apr 05 2022
97 Votes
import os
ecause of file path
import random
for random numbe
import operato
to perform airthmeitc calc
As instructed Connect your Colab to your Google drive.
from google.colab import drive
global declare maxScore
maxScore=0
Connect your Colab to your Google drive.
drive.mount('/content/gdrive', force_remount=True)
check if Score.txt contains anyting or not
if (os.path.getsize("/content/gdrive/MyDrive/Score.txt") > 0):
if contain data then open it and read it
file = open("/content/gdrive/MyDrive/Score.txt","r+")
print("I am happy to meet you again! Your last score was "+ file.read())
else:
print("Welcome to your Math Game!")
def myMathTest():

global maxScore
opearotors to perform calculations
ops = {'+':operator.add,
'-':operator.sub,
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here