Похожие чаты

Import random import time n = 0 random_number = random.randint(3,101) #random_number = 3 print("Random Number

{}".format(random_number))

###method
def Dr_Strange_Bargain(n):
print("Dr Strange: Dormammu! I've come to bargain.\n")
time.sleep(2)
print("Dormammu: You've come to die.\n")
print("Dormammu: your world is now my world, like all worlds. \n")
time.sleep(2)
##Recursion Method
if n == 0:
n = n+1
Dr_Strange_Bargain(n)
elif n == 1:
time.sleep(2)
print("Dormammu: What is this?\n")
print("Dormammu: Illusion? - No, this is real.\n")
time.sleep(2)
n = n+1
Dr_Strange_Bargain(n)
elif (n > 1) & (n != random_number):
time.sleep(2)
print("Dormammu: You cannot do this forever.\n")
print("Dormammu: No! Make it stop.\n")
print("Dr Strange: Actually, I can.\n This is how things are now. \n You and me, trapped in this moment, endlessly.\n")
time.sleep(2)
n = n+1
Dr_Strange_Bargain(n)
elif n == random_number:
print("Dr Strange: Take your zealots from the Earth.\n End your assault on my world.\n Never come back.")

Dr_Strange_Bargain(n)

1 ответов

9 просмотров

It looks like you posted long piece of code, consider editing it out and putting it on hastebin.com and pasting link to it instead. Alternatively, send your code in a file.

Похожие вопросы

Обсуждают сегодня

А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Подскажите, где смотреть результат выполнения программы? Код: ;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, станда...
Егор Анелькин
5
I arrived here after a Chico Crypto show highlighted the project & the Team - the fact that the Team had a long history of successfully working with household names gave me e...
Banter is Bullish
1
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Привет всем. появился вопрос. Разрабатываю сайт, в данный момент он запущен. Хостинг beget. Добавляю на сайт яндекс метрику с помощью полей client-settings (взято отсюда http...
Andrew
2
;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, стандартный ;вызов процедуры ;option casemap:no...
Егор Анелькин
1
Почему у макбука экран не сенсорный?
✨ Anatolii Cherednichenko
28
It's unfortunate that the "Then why are you here" or "lol you must've bought high" mantras always come up. I already tried bringing up this subject in the price channel but si...
Leroy Gerrits
4
Так а кто может спарсить всех участников чата? Идишники
Magic
17
Есть вопрос: допустим есть железка с каким-то интерфейсом(допустим usb), но как по этому интерфейсу железкой управлять неизвестно, прог нету, а управлять очень хочется надо. К...
Mixail Frolov
15
Карта сайта