@objarni/

Project Size

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.08169799471127126","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"ZGVmIHByb2plY3Rfc2l6ZShudW1fdmFyaWFudHMsIG51bV9vcGVyYXRpb25zKToKICBzaXplID0gbnVtX3ZhcmlhbnRzKm51bV9vcGVyYXRpb25zCiAgcmV0dXJuIHNpemUKCgpudW1fdmFyaWFudHMgPSBpbnQoaW5wdXQoIk51bWJlciBvZiB2YXJpYW50czogIikpCm51bV9vcGVyYXRpb25zID0gaW50KGlucHV0KCJOdW1iZXIgb2Ygb3BlcmF0aW9uczogIikpCgpwcmludCgiVGhlIHByb2plY3Qgc2l6ZSBpcyBlc3RpbWF0ZWQgdG86ICVkIiAlIHByb2plY3Rfc2l6ZShudW1fdmFyaWFudHMsIG51bV9vcGVyYXRpb25zKSkK"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
def project_size(num_variants, num_operations):
  size = num_variants*num_operations
  return size


num_variants = int(input("Number of variants: "))
num_operations = int(input("Number of operations: "))

print("The project size is estimated to: %d" % project_size(num_variants, num_operations))